Filter Element Configuration for use with CAN_MsgRamConfig
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 filter type is ignored.
If FEC = 4-6, a match sets high priority message status and generates an interrupt.
§ CAN_FEC_DISABLE_FILTER
#define CAN_FEC_DISABLE_FILTER ((uint32_t)0U) |
§ CAN_FEC_STORE_RXFIFO0
#define CAN_FEC_STORE_RXFIFO0 ((uint32_t)1U) |
§ CAN_FEC_STORE_RXFIFO1
#define CAN_FEC_STORE_RXFIFO1 ((uint32_t)2U) |
§ CAN_FEC_REJECT_ID
#define CAN_FEC_REJECT_ID ((uint32_t)3U) |
§ CAN_FEC_SET_PRIO
#define CAN_FEC_SET_PRIO ((uint32_t)4U) |
§ CAN_FEC_SET_PRIO_STORE_RXFIFO0
#define CAN_FEC_SET_PRIO_STORE_RXFIFO0 ((uint32_t)5U) |
§ CAN_FEC_SET_PRIO_STORE_RXFIFO1
#define CAN_FEC_SET_PRIO_STORE_RXFIFO1 ((uint32_t)6U) |
§ CAN_FEC_STORE_RXBUF
#define CAN_FEC_STORE_RXBUF ((uint32_t)7U) |