This abstracts the MCC driver api.
More...
This layer abstracts the MCC driver api to have the same interface as the UART.
◆ PBV_CAN_Init()
- Parameters
-
- Returns
- void
Initialize the CAN communication.
Definition at line 44 of file PBV_CAN.c.
◆ PBV_CAN_Link_Data_RX()
- Parameters
-
- Returns
- void
This links the received data (uint8_t *) to the application data structure data (uint8_t *)
Definition at line 252 of file PBV_CAN.c.
◆ PBV_CAN_Link_Data_TX()
- Parameters
-
- Returns
- This function links the data (uint_8 *) from the passing struct to the CAN object data (uint_8 *)
This function links the data (uint_8 *) from the passing struct to the CAN object data (uint_8 *)
Definition at line 238 of file PBV_CAN.c.
◆ PBV_CAN_Receive_from_GUI()
uint8_t PBV_CAN_Receive_from_GUI |
( |
| ) |
|
- Returns
- int (0 on successful, 1 on unsuccessful)
Checks the queue and if a message is received then links the data pointer to can object
Definition at line 67 of file PBV_CAN.c.
◆ PBV_CAN_Reinit()
- Parameters
-
- Returns
- void
This function is needed in CAN TX to reinitialize the CAN TX object with new parameters.
Definition at line 112 of file PBV_CAN.c.
◆ PBV_CAN_Transmit_Ascii_to_GUI()
uint8_t PBV_CAN_Transmit_Ascii_to_GUI |
( |
| ) |
|
- Returns
- 0 on successful transmission.
Transmits the Ascii msg to PBV
Definition at line 83 of file PBV_CAN.c.
◆ PBV_CAN_Transmit_to_GUI()
uint8_t PBV_CAN_Transmit_to_GUI |
( |
| ) |
|
- Returns
- int
This function sends the message on CAN1 Transmit Queue. TODO: make this portable to other transmit queues.
Definition at line 97 of file PBV_CAN.c.
◆ pbvCanObjectAscii
◆ pbvCanObjectRx
◆ pbvCanObjectTx