GD32F10x User Manual
707
has stored the receive frame.
3) Handling this receive frame data.
4) Set DAV bit of this descriptor to release this descriptor for new frame receiving.
5) Check next descriptor in table, then goes to Step 2.
22.3.8.
Ethernet interrupts
There are two interrupt vectors in Ethernet module. The first interrupt vector is made up of
normal operation interrupts and the second vector is made up of WUM events for wakeup
which is mapped to the EXTI line 19.
All of the MAC and DMA controller interrupt are connected to the first interrupt vector. The
description for the MAC interrupt and DMA controller interrupt are showed behind.
The WUM block event is connected to the second interrupt vector. The event can be remote
wakeup frame received event or/and Magic Packet wakeup frame received event. This
interrupt is inner mapped on the EXTI line 19. So, if the EXTI line 19 is enabled and configured
to trigger by rising edge, the Ethernet WUM event can make the system exiting Deep-sleep
mode after a WUM event occurred. In addition, if the WUM interrupt is not masked, both the
EXTI line 19 interrupt and Ethernet normal interrupt to CPU are both generated.
Note:
Because of the WUM registers are designed in RX_CLK domain, clear these registers
by reading them will need a long time delay (depends on the frequency disparity between
HCLK and RX_CLK). To avoid entering the same event interrupt twice, it’s strongly
recommended that application polls the WUFR and MPKR bit until they reset to zero during
the interrupt service routine.
MAC interrupts
All of the MAC events can be read from ENET_MAC_INTF and each of them has a mask bit
for masking corresponding interrupt. The MAC interrupt is logical ORed of all interrupts.
Figure 22-11. MAC interrupt scheme
WUM
WUMIM
TMST
TMSTI
WUMI
TMSTIM
MAC Interrupt
AND
AND
OR
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...