Structure for MCAN Standard Message ID Filter Element. More...
#include <MCAN.h>
Data Fields | |
uint32_t | sfid2 |
uint32_t | sfid1 |
uint32_t | sfec |
uint32_t | sft |
Structure for MCAN Standard Message ID Filter Element.
uint32_t MCAN_StdMsgIDFilterElement::sfid2 |
Standard Filter ID 2 (11-bits)
uint32_t MCAN_StdMsgIDFilterElement::sfid1 |
Standard Filter ID 1 (11-bits)
uint32_t MCAN_StdMsgIDFilterElement::sfec |
Standard Filter Element Configuration 0 = Disable filter element 1 = Store in Rx FIFO 0 if filter matches 2 = Store in Rx FIFO 1 if filter matches 3 = Reject ID if filter matches 4 = Set priority if filter matches 5 = Set priority and store in FIFO 0 if filter matches 6 = Set priority and store in FIFO 1 if filter matches 7 = Store into Rx Buffer or as debug message, configuration of SFT[1:0] ignored. If SFEC = 4-6, a match sets high priority message status and generates an interrupt.
uint32_t MCAN_StdMsgIDFilterElement::sft |
Standard Filter Type 0 = Range filter from SFID1 to SFID2 (SFID2 >= SFID1) 1 = Dual ID filter for SFID1 or SFID2 2 = Classic filter: SFID1 = filter, SFID2 = mask 3 = Filter element disabled