AT32F425
Series Reference Manual
2022.03.30
Page 402
Ver 2.01
bus:
CRC check failure
Timeout
Bit stuffing error
EOP error
This bit can only be set by the controller. The application
must write 1 to clear this bit.
Bit 6
Reserved
0x0
resd
Kept at its default value.
Bit 5
ACK
0x0
rw1c
ACK response received/Transmitted interrupt
This bit can only be set by the controller. The application
must write 1 to clear this bit.
Bit 4
NAK
0x0
rw1c
NAK rsponse rceived iterrupt
This bit can only be set by the controller. The application
must write 1 to clear this bit.
Bit 3
STALL
0x0
rw1c
STALL rsponse reeived iterrupt
This bit can only be set by the controller. The application
must write 1 to clear this bit.
Bit 2
Reserved
0x0
resd
Kept at its default value.
Bit 1
CHHLTD
0x0
rw1c
Channel hated
Indicates that the transfer completed abnorammly either
because of any transfer error or in response to a disable
request by the applicaton.
Bit 0
XFERC
0x0
rw1c
Transfer cmpleted
Transfer completed normally, without any error. This bit
can only be set by the controller. The application must write
1 to clear this bit.
20.6.4.10
OTGFS host channelx interrupt mask register
(OTGFS_HCINTMSKx) (x = 0...15, where x= channel number)
This register is used to mask the channels described in the previous section.
Bit
Register
Reset value
Type
Description
Bit 31: 11 Reserved
0x000000
resd
Kept at its default value.
Bit 10
DTGLERRMSK
0x0
rw
Data toggle error mask
Bit 9
FRMOVRUNMSK
0x0
rw
Frame overrun mask
Bit 8
BBLERRMSK
0x0
rw
Babble error mask
Bit 7
XACTERRMSK
0x0
rw
Transaction error mask
Bit 6
NYETMSK
0x0
rw
NYET response received interrupt mask
Bit 5
ACKMSK
0x0
rw
ACK response received/transmitted interrupt mask
Bit 4
NAKMSK
0x0
rw
NAK response received interrupt mask
Bit 3
STALLMSK
0x0
rw
STALL response received interrupt mask
Bit 2
Reserved
0x0
resd
Kept at its default value.
Bit 1
CHHLTDMSK
0x0
rw
Channel halted mask
Bit 0
XFERCMSK
0x0
rw
Transfer completed mask
20.6.4.11
OTGFS host channelx transfer size register
(OTGFS_HCTSIZx) (x = 0...15, where x= channel number)
Bit
Register
Reset value
Type
Description
Bit 31
Reserved
0x0
resd
Kept at its default value.
Bit 30: 29 PID
0x0
rw
PID (Pid)
The application programs this field with the type of PID
used for the initial transfer. The host controls this filed for
the rest of transfers.
00: DATA0
01: DATA2
10: DATA1
11: MDATA(non-control)/SETUP(control)
Bit 28: 19 PKTCNT
0x000
rw
Packet count
The application programs this field with the expected
number of packets to be transmited or received. The host
decrements the packet count on every successful
transmission or reception of an OUT/IN packet. When this
count reaches zero, the application is interrupted to