AM263Px MCU+ SDK: MCAN_ConfigParams Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
MCAN_ConfigParams Struct Reference
APIs for SOC Specific Device Drivers » APIs for MCAN

## Detailed Description

Structure for MCAN configuration parameters.

## Data Fields
uint32_t | monEnable
uint32_t | asmEnable
uint32_t | tsPrescalar
uint32_t | tsSelect
uint32_t | timeoutSelect
uint32_t | timeoutPreload
uint32_t | timeoutCntEnable
MCAN_GlobalFiltConfig | filterConfig

## 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.

## ◆ tsPrescalar

uint32_t MCAN_ConfigParams::tsPrescalar

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

## ◆ tsSelect

uint32_t MCAN_ConfigParams::tsSelect

Timestamp 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”

## ◆ timeoutSelect

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

## ◆ timeoutCntEnable

uint32_t MCAN_ConfigParams::timeoutCntEnable

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

## ◆ filterConfig

MCAN_GlobalFiltConfig MCAN_ConfigParams::filterConfig

Global Filter Configuration parameters. Refer struct MCAN_GlobalFiltConfig.