|  | 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);
18uint8_t PBV_CAN_Receive_from_GUI();
19uint8_t PBV_CAN_Transmit_to_GUI();
20uint8_t PBV_CAN_Transmit_Ascii_to_GUI();
21void PBV_CAN_Reinit(PBV_Datatype_TX_t * ptr);
22void PBV_CAN_Link_Data_TX(PBV_Datatype_TX_t * ptr);
23void PBV_CAN_Link_Data_RX(PBV_Datatype_RX_t * ptr);
24
25#endif /* APP_PBV_CAN_INTERFACE_H */
26
PBV_CAN_Link_Data_TX
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
PBV_CAN_Receive_from_GUI
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
PBV_CAN_Link_Data_RX
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
PBV_CAN_Init
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
PBV_CAN_Reinit
void PBV_CAN_Reinit(PBV_Datatype_TX_t *ptr)
Reinitializes the can object with new can id.
Definition PBV_CAN.c:112
PBV_CAN_Transmit_Ascii_to_GUI
uint8_t PBV_CAN_Transmit_Ascii_to_GUI()
transmits the Ascii msg to PBV
Definition PBV_CAN.c:83
PBV_CAN_Transmit_to_GUI
uint8_t PBV_CAN_Transmit_to_GUI()
Transmits the numerical msg to PBV.
Definition PBV_CAN.c:97
PBV_Datatype_TX_t
Definition PBV_interface.h:75
PBV_Datatype_RX_t
Definition PBV_interface.h:89