Data Fields
MCAN_ConfigParams Struct Reference

Structure for MCAN configuration parameters. More...

#include <MCAN.h>

Collaboration diagram for MCAN_ConfigParams:
Collaboration graph
[legend]

Data Fields

uint32_t monEnable
 
uint32_t asmEnable
 
uint32_t tsPrescaler
 
MCAN_TSCCTimestampSel tsSelect
 
MCAN_TimeOutSelect timeoutSelect
 
uint32_t timeoutPreload
 
uint32_t timeoutCntEnable
 
MCAN_GlobalFiltConfig filterConfig
 

Detailed Description

Structure for MCAN configuration parameters.

Field Documentation

§ monEnable

uint32_t MCAN_ConfigParams::monEnable

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

§ asmEnable

uint32_t MCAN_ConfigParams::asmEnable

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

§ tsPrescaler

uint32_t MCAN_ConfigParams::tsPrescaler

Timestamp Counter Prescaler. This prescaler is only used when tsSelect is MCAN_TSCC_COUNTER_USE_TCP which means the internal timestamp counter source is selected. Interpreted by M_CAN as the value in this field + 1. Range:[0x0-0xF]

§ tsSelect

MCAN_TSCCTimestampSel MCAN_ConfigParams::tsSelect

Timestamp source selection. Refer enum MCAN_TSCCTimestampSel

§ timeoutSelect

MCAN_TimeOutSelect MCAN_ConfigParams::timeoutSelect

Time-out counter source select. Refer enum MCAN_TimeOutSelect.

§ timeoutPreload

uint32_t MCAN_ConfigParams::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 tsPrescaler. Range:[0x0-0xFFFF]

§ timeoutCntEnable

uint32_t MCAN_ConfigParams::timeoutCntEnable

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

§ filterConfig

MCAN_GlobalFiltConfig MCAN_ConfigParams::filterConfig

Global Filter Configuration parameters. Refer struct MCAN_GlobalFiltConfig.


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