Bar Logo 4kW dsPIC33C PSFB DC-DC DA (Part-No. )
 
Content
     
Loading...
Searching...
No Matches

This is the main application file. More...

+ Collaboration diagram for PBV Data PSFB App:

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_tApp_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
 

Detailed Description

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.

Macro Definition Documentation

◆ FIRMWARE_PROTOCOL_ID

#define FIRMWARE_PROTOCOL_ID   0x1000

Firmware ID

Definition at line 25 of file app_PBV_psfb_frame_map.c.

Function Documentation

◆ App_PB_psfb_Get_TX_ASCII_ptr()

PBV_Datatype_TX_t * App_PB_psfb_Get_TX_ASCII_ptr ( void )
Parameters
void
Returns
PBV_Datatype_TX_t *

Definition at line 175 of file app_PBV_psfb_frame_map.c.

◆ App_PBV_psfb_Build_Frame()

void App_PBV_psfb_Build_Frame ( void )

Private Functions Prototypes

Private Functions Definitions

Parameters
void
Returns
nothing

Definition at line 193 of file app_PBV_psfb_frame_map.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ App_PBV_psfb_Init()

void App_PBV_psfb_Init ( void )

Public Functions Definitions

Returns
void

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.

◆ App_PBV_psfb_Task_10ms()

void App_PBV_psfb_Task_10ms ( void )
Returns
void

Definition at line 117 of file app_PBV_psfb_frame_map.c.

+ Here is the call graph for this function:

◆ App_PBV_psfb_Task_1s()

void App_PBV_psfb_Task_1s ( void )
Returns
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.

+ Here is the call graph for this function: