
GD32F20x User Manual
921
maximum packet length.
7
USBER
USB Bus Error
The USB error flag is set when the following conditions occur during receiving a
packet reception:
–
A received packet has a wrong CRC field
–
A stuff error detected on USB bus
–
Timeout when waiting for a response packet
6
Reserved
Must be kept at reset value.
5
ACK
ACK
An ACK response is received or transmitted
4
NAK
NAK
A NAK response is received.
3
STALL
STALL
A STALL response is received.
2
Reserved
Must be kept at reset value.
1
CH
Channel halted
This channel is disabled by a request, and it will not response to other requests
during the request processing.
0
TF
Transfer finished
All the transactions of this channel finish successfully, and no error occurs. For IN
channel, this flag will be triggered after PCNT bits in USBFS_HCHxLEN register
reach zero. For OUT channel, this flag will be triggered when software reads and
pops a TF status entry from the Rx FIFO.
Host channel-x interrupt enable register (USBFS_HCHxINTEN) (x = 0..7, where
x = channel number)
Address offset: (channel_number × 0x20)
Reset value: 0x0000 0000
This register contains the interrupt enable bits for the flags in USBFS_HCHxINTF register. If
a bit in this register is set by software, the corresponding bit in USBFS_HCHxINTF register is
able to trigger a channel interrupt. The bits in this register are set and cleared by software.
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
Rese
rve
d
Содержание 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 ...