GD32W51x User Manual
847
flag after the w riting to SGINAK takes effect.
Note: Only accessible in device mode.
5
NPTXFEIF
Non-Periodic Tx FIFO empty interrupt flag
This interrupt is triggered w hen the non-periodic transmit FIFO is either half or
completely empty. The threshold is determined by the non-periodic Tx FIFO empty
level bit (TXFTH) in the USBFS_GAHBCS register.
Note: Only accessible in host mode.
4
RXFNEIF
Rx FIFO non-empty interrupt flag
USBFS sets this bit w hen there is at least one packet or status entry in the Rx FIFO.
Note: Accessible in both host and device modes.
3
SOF
Start of frame
Host Mode: USBFS sets this bit w hen it prepares to transmit a SOF or Keep-Alive
on USB bus. Softw are can clear this bit by w riting 1.
Device Mode: USBFS sets this bit after it receives a SOF token. The application can
read the Device Status register to get the current frame number. Softw are can clear
this bit by w riting 1.
Note: Accessible in both host and device modes.
2
OTGIF
OTG interrupt flag
USBFS sets this bit w hen the flags in USBFS_GOTGINTF register generate an
interrupt. Softw are should read USBFS_GOTGINTF register to get the source of
this interrupt. This bit is cleared after the flags in USBFS_GOTGINTF causing this
interrupt are cleared.
Note: Accessible in both host and device modes.
1
MFIF
Mode fault interrupt flag
USBFS sets this bit w hen softw are operates host-only register in device mode, or
operates device-
mode in host mode. These fault operations w on’t take effect.
Note: Accessible in both host and device modes.
0
COPM
Current operation mode
0: Device mode
1: Host mode
Note: Accessible in both host and device modes.
Global interrupt enable register (USBFS_GINTEN)
Address offset: 0x0018
Reset value: 0x0000 0000
This register works with the global interrupt flag register (USBFS_GINTF) to interrupt the
application. When an interrupt enable bit is disabled, the interrupt associated with that bit is
not generated. However, the global Interrupt flag register bit corresponding to that interrupt is
still set.
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...