GD32F20x User Manual
901
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. This bit can be cleared 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. This bit can be cleared 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-only register 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
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.
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Содержание 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 ...