Data Fields
MCAN_ConfigParams_t Struct Reference

Data structure defines the MCAN configuration parameters. More...

#include <drivers/canfd/include/canfd_internal.h>

Data Fields

uint32_t monEnable
 
uint32_t asmEnable
 
uint32_t tsPrescalar
 
uint32_t tsSelect
 
uint32_t timeoutSelect
 
uint32_t timeoutPreload
 
uint32_t timeoutCntEnable
 
CANFD_MCANGlobalFiltConfig filterConfig
 

Detailed Description

Data structure defines the MCAN configuration parameters.

Field Documentation

uint32_t MCAN_ConfigParams_t::asmEnable

Restricted Operation Mode 0 - Normal CAN operation 1 - Restricted Operation Mode active This mode should not be combined with test modes.

CANFD_MCANGlobalFiltConfig MCAN_ConfigParams_t::filterConfig

Global Filter Configuration parameters. Refer struct CANFD_MCANGlobalFiltConfig.

uint32_t MCAN_ConfigParams_t::monEnable

Bus Monitoring Mode 0 - Bus Monitoring Mode is disabled 1 - Bus Monitoring Mode is enabled

uint32_t MCAN_ConfigParams_t::timeoutCntEnable

Time-out Counter Enable 0 - Time-out Counter is disabled 1 - Time-out Counter is enabled

uint32_t MCAN_ConfigParams_t::timeoutPreload

Start value of the Timeout Counter (down-counter). The Timeout Counter is decremented in multiples of CAN bit times [1-16] depending on the configuration of the tsPrescalar. Range:[0x0-0xFFFF]

uint32_t MCAN_ConfigParams_t::timeoutSelect

Time-out counter source select. Refer enum CANFD_MCANTimeOutSelect.

uint32_t MCAN_ConfigParams_t::tsPrescalar

Timestamp Counter Prescaler. Range:[0x0-0xF]

uint32_t MCAN_ConfigParams_t::tsSelect

Time-out source selection. 00 - Timestamp counter value always 0x0000 01 - Timestamp counter value incremented according to tsPrescalar 10 - External timestamp counter value used 11 - Same as 00


The documentation for this struct was generated from the following file:

Copyright 2020, Texas Instruments Incorporated