GD32F10x User Manual
799
Note:
Only accessible in device mode.
6
GNPINAK
Global Non-Periodic IN NAK effective
Write 1 to SGINAK bit in the USBFS_DCTL register and USBFS will set GNPINAK
flag after the writing to SGINAK takes effect.
Note:
Only accessible in device mode.
5
NPTXFEIF
Non-Periodic Tx FIFO empty interrupt flag
This interrupt is triggered when 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 when 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 when it prepares to transmit a SOF or Keep-Alive
on USB bus. Software can clear this bit by writing 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. Software can clear
this bit by writing 1.
Note:
Accessible in both host and device modes.
2
OTGIF
OTG interrupt flag
USBFS sets this bit when the flags in USBFS_GOTGINTF register generate an
interrupt. Software 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 when software operates host-only register in device mode, or
operates device-mode in host mode. These fault operations
won’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
Содержание 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 ...