Bar Logo 4kW dsPIC33C PSFB DC-DC DA (Part-No. )
 
Content
     
Loading...
Searching...
No Matches
app_PBV_config.c
1/*
2 * @file app_PBV_config.c
3 * @author M70027
4 * @group app-pbv-config
5 * @brief Power Board Visualizer application configuration
6 */
7#include "config/comms_config.h"
8
9#include "app_PBV_config.h"
10
11#if (PBV_UART == 1)
12#include "app_PBV_UART.h"
13#endif
14
15#if (PBV_CANFD == 1)
16#include "app_PBV_CAN.h"
17#endif
18
19
24
25#if (PBV_UART == 1)
30 PBV_UART_Reinit,
31 PBV_UART_Link_Data_TX,
32 PBV_UART_Link_Data_RX
33#endif
34
35#if (PBV_CANFD == 1)
36 PBV_CAN_Init,
43#endif
44};
void PBV_CAN_Link_Data_TX(PBV_Datatype_TX_t *ptr)
Links the data from TX PBV datatype to CAN TX object.
uint8_t PBV_CAN_Receive_from_GUI()
Definition app_PBV_CAN.c:69
void PBV_CAN_Link_Data_RX(PBV_Datatype_RX_t *ptr)
links the received data to the application data structure
void PBV_CAN_Reinit(PBV_Datatype_TX_t *ptr)
reinitializes the can object with new can id.
uint8_t PBV_CAN_Transmit_Ascii_to_GUI()
Definition app_PBV_CAN.c:86
uint8_t PBV_CAN_Transmit_to_GUI()
transmits the numerical msg to PBV
uint8_t PBV_UART_Transmit_to_GUI()
void PBV_UART_Init(PBV_Datatype_TX_t *Board_To_PBV, PBV_Datatype_TX_t *Board_To_PBVAscii, PBV_Datatype_RX_t *Pbv_To_Board)
uint8_t PBV_UART_Transmit_Ascii_to_GUI()
uint8_t PBV_UART_Receive_from_GUI()
implements the state machine for UART Frame receiving from PBV.
const APP_PBV_INTF_API_t APP_PBV_FUNCS
structure of API function pointers.
structure of API function pointers.