Bar Logo Dual Active Bridge Development Board (Part-No. )
 
Content
     
Loading...
Searching...
No Matches
PBV_CAN.h
1
2/*
3 * @file PBV_CAN.h
4 * @author M70027
5 * @ingroup PBV_CAN
6 * @brief Power Board Visualizer CAN interface
7 */
8
9// This is a guard condition so that contents of this file are not included
10// more than once.
11#ifndef APP_PBV_CAN_INTERFACE_H
12#define APP_PBV_CAN_INTERFACE_H
13
14#include "PBV_interface.h"
15
16// Public Functions
17void PBV_CAN_Init(PBV_Datatype_TX_t * boardToPBV, PBV_Datatype_TX_t * boardToPBVAscii, PBV_Datatype_RX_t *pbvToBoard);
24
25#endif /* APP_PBV_CAN_INTERFACE_H */
26
void PBV_CAN_Link_Data_TX(PBV_Datatype_TX_t *ptr)
Links the data from TX PBV datatype to CAN TX object.
Definition PBV_CAN.c:238
uint8_t PBV_CAN_Receive_from_GUI()
Checks the queue and if a message is received then links the data pointer to can object.
Definition PBV_CAN.c:67
void PBV_CAN_Link_Data_RX(PBV_Datatype_RX_t *ptr)
links the received data to the application data structure
Definition PBV_CAN.c:252
void PBV_CAN_Init(PBV_Datatype_TX_t *boardToPBV, PBV_Datatype_TX_t *boardToPBVAscii, PBV_Datatype_RX_t *pbvToBoard)
Initializes CAN objects with PBV objects ( only CAN IDs for now)
Definition PBV_CAN.c:44
void PBV_CAN_Reinit(PBV_Datatype_TX_t *ptr)
Reinitializes the can object with new can id.
Definition PBV_CAN.c:112
uint8_t PBV_CAN_Transmit_Ascii_to_GUI()
transmits the Ascii msg to PBV
Definition PBV_CAN.c:83
uint8_t PBV_CAN_Transmit_to_GUI()
Transmits the numerical msg to PBV.
Definition PBV_CAN.c:97