GD32F20x User Manual
754
Figure 26-6. 16-bit filter
FDATA[31:21]
FDATA[20:16]
SFID[10:0]
FT
FF EFID[17:15]
FDATA[15:5]
FDATA[4:0]
SFID[10:0]
FT
FF EFID[17:15]
Mask mode
In mask mode the identifier registers are associated with mask registers specifying which bits
of the identifier are handled as “must match” (when the bit in mask register is ‘1’) or as “don’t
care” (when the bit in mask register is ‘0’).
32-bit mask mode example is shown in
Figure 26-7. 32-bit mask mode filter
Figure 26-7. 32-bit mask mode filter
FDATA1[31:21]
FDATA1[20:3]
FDATA1[2:0]
SFID[10:0]
EFID[17:0]
FF
FT
0
FDATA0[31:21]
FDATA0[20:3]
FDATA0[2:0]
ID
Mask
Figure 26-8. 16-bit mask mode filter
FDATA0[15:5]
FDATA0[4:0]
SFID[10:0]
FT
FF EFID[17:15]
FDATA1[15:5]
FDATA1[4:0]
SFID[10:0]
FT
FF EFID[17:15]
FDATA0[31:21]
FDATA0[20:16]
FDATA1[31:21]
FDATA1[20:16]
ID
Mask
List mode
The filter consists of frame identifiers. The filter can decide whether a frame will be discarded
or not. When one frame arrived, the filter will check which member can match the identifier of
the frame.
32-bit list mode example is shown in
Figure 26-9. 32-bit list mode filter
Figure 26-9. 32-bit list mode filter
FDATA1[31:21]
FDATA1[20:3]
FDATA1[2:0]
SFID[10:0]
EFID[17:0]
FF
FT
0
FDATA0[31:21]
FDATA0[20:3]
FDATA0[2:0]
ID
ID
Figure 26-10. 16-bit list mode filter
FDATA0[31:21]
FDATA0[20:16]
SFID[10:0]
FT
FF EFID[17:15]
FDATA0[15:5]
FDATA0[4:0]
SFID[10:0]
FT
FF EFID[17:15]
ID
Filter number
Each filter within a filter bank is numbered from 0 to a maximum dependent on the mode and
the scale of each of the filter banks.For example, there are two filter banks. Bank 0 is
configured as 32-bit mask mode. Bank 1 is configured as 32-bit list mode. The filter number
Содержание 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 ...