Data Fields
CAN_HWAttrs Struct Reference

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
 

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

uint32_t CAN_HWAttrs::enableCANFD

Set to 1 to enable CAN FD

§ enableBRS

uint32_t CAN_HWAttrs::enableBRS

Set to 1 to enable CAN FD bit rate switching

§ nominalBitRate

uint32_t CAN_HWAttrs::nominalBitRate

Bit rate for arbitration

§ dataBitRate

uint32_t CAN_HWAttrs::dataBitRate

Bit rate for CAN-FD data phase

§ rejectNonMatchingMsgs

uint32_t CAN_HWAttrs::rejectNonMatchingMsgs

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

§ 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


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