![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 460](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630460.webp)
www.geehy.com Page 459
Field
Name
R/W
Description
00001: Refresh periodic TXFIFO
10000: Refresh all TXFIFO
In device mode:
00000: Refresh TXFIFO 0
00001: Refresh TXFIFO 1
……
00101: Refresh TXFIFO 15
10000: Refresh all TXFIFO
30:11
Reserved
31
AHBMIDL
R
AHB Master Idle
This bit indicates whether the AHB master device is idle.
Full-speed OTG module interrupt register (OTG_FS_GCINT)
Offset address: 0x14
Reset value: 0x0400 0020
In order to avoid generating interrupts before initialization, the software must
clear this register to zero before enabling the interrupt bit.
Field
Name
R/W
Description
0
CURMOSEL
R
Current Mode of Operation Select
0: Device mode
1: Master mode
1
MMIS
RC_W1
Mode Mismatch Interrupt
This bit will be set to 1 when accessing the following registers:
Access the master mode register in device mode
Access the device mode register in master mode
2
OTG
R
OTG Interrupt
When this bit is set to 1, it indicates that an OTG protocol event
has occurred.
By reading OTG_FS_GINT register, determine the event that
causes the OTG interrupt. This bit can be cleared to zero only
after the corresponding bit of the register is cleared.
3
SOF
RC_W1
Start of Frame Interrupt
When this bit is set:
In master mode, it indicates that USB has transmitted one
SOF (FS) or Keep-Alive (LS);
In device mode, it indicates that USB has received one SOF,
and the current frame number can be obtained by reading
the device state register. An interrupt will be generated only
when running in FS mode.
4
RXFNONE
R
RXFIFO Non-empty Interrupt
This bit indicates that there are still packets in RXFIFO that have
not been read.
5
NPTXFEM
R
Non-periodic TXFIFO Empty Interrupt
This interrupt will be triggered when the non-periodic TXFIFO is
not empty and there is space for writable entries in the request
queue.
Note: It can be accessed only in master mode