![]() |
![]() |
Structure for MCAN configuration parameters. More...
#include <MCAN.h>
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 |
Structure for MCAN configuration parameters.
uint32_t MCAN_ConfigParams::monEnable |
Bus Monitoring Mode
0 = Bus Monitoring Mode is disabled
1 = Bus Monitoring Mode is enabled
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.
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]
MCAN_TSCCTimestampSel MCAN_ConfigParams::tsSelect |
Timestamp source selection. Refer enum MCAN_TSCCTimestampSel
MCAN_TimeOutSelect MCAN_ConfigParams::timeoutSelect |
Time-out counter source select. Refer enum MCAN_TimeOutSelect.
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]
uint32_t MCAN_ConfigParams::timeoutCntEnable |
Time-out Counter Enable
0 = Timeout Counter is disabled
1 = Timeout Counter is enabled
MCAN_GlobalFiltConfig MCAN_ConfigParams::filterConfig |
Global Filter Configuration parameters. Refer struct MCAN_GlobalFiltConfig.