can_struct_t Struct Reference

Typedef of CAN queues and data. More...

Collaboration diagram for can_struct_t:

Data Fields

LPC_CAN_TypeDefpCanRegs
 The pointer to the CAN registers. More...
 
QueueHandle_t rxQ
 TX queue. More...
 
QueueHandle_t txQ
 RX queue. More...
 
uint16_t droppedRxMsgs
 Number of messages dropped if no space found during the CAN interrupt that queues the RX messages. More...
 
uint16_t rxQWatermark
 Watermark of the FreeRTOS Rx Queue. More...
 
uint16_t txQWatermark
 Watermark of the FreeRTOS Tx Queue. More...
 
uint16_t txMsgCount
 Number of messages sent. More...
 
uint16_t rxMsgCount
 Number of received messages. More...
 
can_void_func_t bus_error
 When serious BUS error occurs. More...
 
can_void_func_t data_overrun
 When we read the CAN buffer too late for incoming message. More...
 

Detailed Description

Typedef of CAN queues and data.

Field Documentation

can_void_func_t can_struct_t::bus_error

When serious BUS error occurs.

can_void_func_t can_struct_t::data_overrun

When we read the CAN buffer too late for incoming message.

uint16_t can_struct_t::droppedRxMsgs

Number of messages dropped if no space found during the CAN interrupt that queues the RX messages.

LPC_CAN_TypeDef* can_struct_t::pCanRegs

The pointer to the CAN registers.

uint16_t can_struct_t::rxMsgCount

Number of received messages.

QueueHandle_t can_struct_t::rxQ

TX queue.

uint16_t can_struct_t::rxQWatermark

Watermark of the FreeRTOS Rx Queue.

uint16_t can_struct_t::txMsgCount

Number of messages sent.

QueueHandle_t can_struct_t::txQ

RX queue.

uint16_t can_struct_t::txQWatermark

Watermark of the FreeRTOS Tx Queue.


The documentation for this struct was generated from the following file:
  • /var/www/html/SJSU-DEV-Linux/firmware/default/lib/L2_Drivers/src/can.c