This is the main application file. More...
Files | |
file | app_PBV_psfb_frame_map.h |
app PBV psfb Frame map file Example | |
Macros | |
#define | FIRMWARE_PROTOCOL_ID 0x1000 |
protocol ids defined. firmware id 0x1000 is fixed. the rest are arbitary | |
Functions | |
void | App_PBV_psfb_Init () |
This function initializes the local pbv objects. these objects are then passed on to the app_PBV_init function to initialize the CAN/UART objects. | |
void | App_PBV_psfb_Task_10ms (void) |
this is high frequency task to simulate sending of high frequency numeric data. Also to check if there are any messages received, must be done at a high enough rate to ensure that the messages are not dropped. | |
void | App_PBV_psfb_Task_1s (void) |
1 second PBV task to be execution | |
PBV_Datatype_TX_t * | App_PB_psfb_Get_TX_ASCII_ptr (void) |
this function can be used to send log messages from other files. | |
void | App_PBV_psfb_Build_Frame (void) |
this builds frame | |
This is the main application file. Here there are tasks that run at different frequencies checking for any received messages and triggering sending of messages.
#define FIRMWARE_PROTOCOL_ID 0x1000 |
Firmware ID
Definition at line 25 of file app_PBV_psfb_frame_map.c.
PBV_Datatype_TX_t * App_PB_psfb_Get_TX_ASCII_ptr | ( | void | ) |
void App_PBV_psfb_Build_Frame | ( | void | ) |
Private Functions Prototypes
Private Functions Definitions
void |
Definition at line 193 of file app_PBV_psfb_frame_map.c.
void App_PBV_psfb_Init | ( | void | ) |
Public Functions Definitions
This function initializes the local pbv objects. these objects are then passed on to the app_PBV_init function to initialize the CAN/UART objects. RX object just needs state change.
Definition at line 87 of file app_PBV_psfb_frame_map.c.
void App_PBV_psfb_Task_10ms | ( | void | ) |
Definition at line 117 of file app_PBV_psfb_frame_map.c.
void App_PBV_psfb_Task_1s | ( | void | ) |
This is a slow task simulating the low speed sending of ascii data it sends the firmware id, and the switches to the log id.
< reinit to new id
Definition at line 145 of file app_PBV_psfb_frame_map.c.