![]() |
![]() |
CAN hardware attributes. More...
#include <CAN.h>
Data Fields | |
bool | enableCANFD |
bool | enableBRS |
bool | rejectNonMatchingMsgs |
uint32_t | nominalBitRate |
uint32_t | dataBitRate |
void * | rxRingBufPtr |
void * | txRingBufPtr |
size_t | rxRingBufSize |
size_t | txRingBufSize |
uint32_t | intPriority |
uint32_t | rxPinMux |
uint32_t | txPinMux |
uint_least8_t | rxPin |
uint_least8_t | txPin |
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.
bool CAN_HWAttrs::enableCANFD |
Set to true to enable CAN FD
bool CAN_HWAttrs::enableBRS |
Set to true to enable CAN FD bit rate switching
bool CAN_HWAttrs::rejectNonMatchingMsgs |
Set to true to reject incoming messages that do not match a filter
uint32_t CAN_HWAttrs::nominalBitRate |
Bit rate for arbitration
uint32_t CAN_HWAttrs::dataBitRate |
Bit rate for CAN-FD data phase
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
uint32_t CAN_HWAttrs::intPriority |
Interrupt priority
uint32_t CAN_HWAttrs::rxPinMux |
Receive pin mux
uint32_t CAN_HWAttrs::txPinMux |
Transmit pin mux
uint_least8_t CAN_HWAttrs::rxPin |
Receive pin
uint_least8_t CAN_HWAttrs::txPin |
Transmit pin