GD32F20x User Manual
802
Remote wakeup frame filter register
Wakeup frame filter register is made up of eight different registers but shared the same
register offset address. So the inner pointer points the next filter register when the filter
register address is accessed by writing or reading. Whatever operation, write or read, it is
strongly recommended to operate eight times sequentially. This means continuously write 8
times will configure the filter registers and continuously read 8 times will get the values of filter
registers.
Figure 27-6. Wakeup frame filter register
Filter n Byte mask
This register field defines using which bytes of the frame to determine the received frame is
wakeup frame or not by filter n (n=0, 1, 2, 3). Bit 31 must be set to 0. Bit 30 to bit 0 are valid
byte mask. If bit m(m means byte number) is set, the filter n m of the receiving frame
is calculated by the CRC unit, conversely, filter n m is ignored.
Filter n command
This four bits command controls the operation of the filter n. The bit 3 of the field is address
type selection bit. If this bit is 1, the detection only detects a multicast frame and if this bit is
0, the detection only detects a unicast frame. Bit 2 and bit 1 must be set to 0. Bit 0 is the filter
switch bit. Setting it to 1 means enable and 0 means disable.
Filter n offset
It is used in conjunction with filter n byte mask field. This register specifies offset (within the
frame) of the first byte which the filter n uses to check. The minimum allowable value is 12, it
represents the byte 13 in the frame (offset value 0 indicates the first byte of the frame).
Filter n CRC-16
This register field contains the filter comparing CRC-16 code which is used for comparing the
calculated CRC-16 from frame data.
Filter 0 Byte Mask
Filter 1 Byte Mask
Filter 2 Byte Mask
Filter 3 Byte Mask
Filter 1 CRC - 16
Filter 3 Offset
Filter 2 Offset
Reserve
Filter 3
Command
Reserve
Filter 2
Command
Reserve
Filter 1
Command
Reserve
Filter 0
Command
Filter 1 Offset
Filter 0 Offset
Filter 0 CRC - 16
Filter 3 CRC - 16
Filter 2 CRC - 16
Wakeup Frame
Filter Register 0
Wakeup Frame
Filter Register 1
Wakeup Frame
Filter Register 2
Wakeup Frame
Filter Register 3
Wakeup Frame
Filter Register 4
Wakeup Frame
Filter Register 5
Wakeup Frame
Filter Register 6
Wakeup Frame
Filter Register 7
Содержание 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 ...