Data Fields
CAN_HWAttrs Struct Reference

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
 

Detailed Description

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.

Field Documentation

§ enableCANFD

bool CAN_HWAttrs::enableCANFD

Set to true to enable CAN FD

§ enableBRS

bool CAN_HWAttrs::enableBRS

Set to true to enable CAN FD bit rate switching

§ rejectNonMatchingMsgs

bool CAN_HWAttrs::rejectNonMatchingMsgs

Set to true to reject incoming messages that do not match a filter

§ nominalBitRate

uint32_t CAN_HWAttrs::nominalBitRate

Bit rate for arbitration

§ dataBitRate

uint32_t CAN_HWAttrs::dataBitRate

Bit rate for CAN-FD data phase

§ rxRingBufPtr

void* CAN_HWAttrs::rxRingBufPtr

Pointer to Rx ring buffer

§ txRingBufPtr

void* CAN_HWAttrs::txRingBufPtr

Pointer to Tx ring buffer

§ rxRingBufSize

size_t CAN_HWAttrs::rxRingBufSize

Number of Rx ring buffer elements

§ txRingBufSize

size_t CAN_HWAttrs::txRingBufSize

Number of Tx ring buffer elements

§ intPriority

uint32_t CAN_HWAttrs::intPriority

Interrupt priority

§ rxPinMux

uint32_t CAN_HWAttrs::rxPinMux

Receive pin mux

§ txPinMux

uint32_t CAN_HWAttrs::txPinMux

Transmit pin mux

§ rxPin

uint_least8_t CAN_HWAttrs::rxPin

Receive pin

§ txPin

uint_least8_t CAN_HWAttrs::txPin

Transmit pin


The documentation for this struct was generated from the following file:
© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale