![]() |
![]() |
Data structure defines the MCAN Standard Message ID Filter Element. More...
#include <drivers/canfd/include/canfd_internal.h>
Data Fields | |
| uint32_t | sfid2 |
| uint32_t | sfid1 |
| uint32_t | sfec |
| uint32_t | sft |
Data structure defines the MCAN Standard Message ID Filter Element.
| uint32_t MCAN_StdMsgIDFilterElement_t::sfec |
Standard Filter Element Configuration 000 - Disable filter element 001 - Store in Rx FIFO 0 if filter matches 010 - Store in Rx FIFO 1 if filter matches 011 - Reject ID if filter matches 100 - Set priority if filter matches 101 - Set priority and store in FIFO 0 if filter matches 110 - Set priority and store in FIFO 1 if filter matches 111 - Store into Rx Buffer or as debug message, configuration of SFT[1:0] ignored. If SFEC - 100b, 101b, or 110b a match sets high priority message event is generated.
| uint32_t MCAN_StdMsgIDFilterElement_t::sfid1 |
Standard Filter ID 1
| uint32_t MCAN_StdMsgIDFilterElement_t::sfid2 |
Standard Filter ID 2
| uint32_t MCAN_StdMsgIDFilterElement_t::sft |
Standard Filter Type 00 - Range filter from SFID1 to SFID2 (SFID2 >= SFID1) 01 - Dual ID filter for SFID1 or SFID2 10 - Classic filter: SFID1 = filter, SFID2 = mask 11 - Filter element disabled