GD32F20x User Manual
755
Table 26-1. 32-bit filter number
Table 26-1. 32-bit filter number
Filter
Bank
Filter Data Register
Filter
Number
0
F0DATA0-32bit-ID
0
F0DATA1-32bit-Mask
1
F1DATA0-32bit-ID
1
F1DATA1-32bit-ID
2
Associated FIFO
28 banks can be associated with FIFO0 or FIFO1. If the bank is associated with FIFO0, the
frames passed through the bank will fill the FIFO0.
Active
The filter bank needs to be configured activation if the application wants the bank working
and while filters not used by the application should be left deactivated.
Filtering index
Each filter number corresponds to a filtering rule. When the frame from the CAN bus passes
the filters, a filter number must associate with the frame. The filter number is called filtering
index. It stores in the FI bits in CAN_RFIFOMPx when the frame is read by the application.
Each FIFO numbers the filters within the banks associated with the FIFO itself whether the
bank is active or not.
The example about filtering index is shown in
Table 26-2. Filtering index
Filter
Bank
FIFO0
Active
Filter
Nunber
Filter
Bank
FIFO1
Active
Filter
Nunber
0
F0DATA0-32bit-ID
Yes
0
2
F2DATA0[15:0]-16bit-ID
Yes
0
F0DATA1-32bit-Mask
F2DATA0[32:16]-16bit-
Mask
1
F1DATA0-32bit-ID
Yes
1
F2DATA1[15:0]-16bit-ID
1
F1DATA1-32bit-ID
2
F2DATA1[32:16]-16bit-
Mask
3
F3DATA0[15:0]-16bit-
ID
No
3
4
F4DATA0-32bit-ID
No
2
F3DATA0[32:16]-16bit-
Mask
F4DATA1-32bit-Mask
F3DATA1[15:0]-16bit-
ID
4
5
F5DATA0-32bit-ID
No
3
F3DATA1[32:16]-16bit-
F5DATA1-32bit-ID
4
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...