![]() |
![]() |
CAN hardware attributes. More...
#include <CAN.h>
Data Fields | |
| uint32_t | enableCANFD |
| uint32_t | enableBRS |
| uint32_t | nominalBitRate |
| uint32_t | dataBitRate |
| uint32_t | rejectNonMatchingMsgs |
| void * | rxRingBufPtr |
| void * | txRingBufPtr |
| size_t | rxRingBufSize |
| size_t | txRingBufSize |
CAN hardware attributes.
CAN hardware attributes provides constant HW-specific configuration and should be included in the board file or SysConfig generated file and pointed to by the CAN_config struct.
| uint32_t CAN_HWAttrs::enableCANFD |
Set to 1 to enable CAN FD
| uint32_t CAN_HWAttrs::enableBRS |
Set to 1 to enable CAN FD bit rate switching
| uint32_t CAN_HWAttrs::nominalBitRate |
Bit rate for arbitration
| uint32_t CAN_HWAttrs::dataBitRate |
Bit rate for CAN-FD data phase
| uint32_t CAN_HWAttrs::rejectNonMatchingMsgs |
Set to 1 to reject incoming messages that do not match a filter
| void* CAN_HWAttrs::rxRingBufPtr |
Pointer to Rx ring buffer
| void* CAN_HWAttrs::txRingBufPtr |
Pointer to Tx ring buffer
| size_t CAN_HWAttrs::rxRingBufSize |
Number of Rx ring buffer elements
| size_t CAN_HWAttrs::txRingBufSize |
Number of Tx ring buffer elements