AT32F425
Series Reference Manual
2022.03.30
Page 406
Ver 2.01
Bit 4
INTKNTXFEMPMSK 0x0
rw
IN token received when TxFIFO empty mask
0: Interrupt masked
1: Interrupt unmasked
Bit 3
TIMEOUTMSK
0x0
rw
Timeout condition mask (Non-isochronous endpoints))
0: Interrupt masked
1: Interrupt unmasked
Bit 2
Reserved
0x0
resd
Kept at its defaut value.
Bit 1
EPTDISMSK
0x0
rw
Endpoint disabled interrupt mask
0: Interrupt masked
1: Interrupt unmasked
Bit 0
XFERCMSK
0x0
rw
Transfer completed interrupt mask
0: Interrupt masked
1: Interrupt unmasked
20.6.5.5 OTGFS device OUT endpoint common interrupt mask register
(OTGFS_DOEPMSK)
This register works with each of the OTGFS_DOEPINTx registerS for all endpoints to generate an OUT
endpoint interrupt. Each of the bits in the OTGFS_DOEPINTx registers can be masked by writing to the
register. All interrupts are masked by default.
Bit
Register
Reset value
Type
Description
Bit 31
:
10 Reserved
0x000000
resd
Kept at its defaut value.
Bit 9
BNAOUTMSK
0x0
rw
BNA interrupt mask
0: Interrupt masked
1: Interrupt unmasked
Bit 8
OUTPERRMSK
0x0
rw
OUT packet error mask
0: Interrupt masked
1: Interrupt unmasked
Bit 7
Reserved
0x0
resd
Kept at its defaut value.
Bit 6
B2BSETUPMSK
0x0
rw
Back-to-back SETUP packets received mask
0: Interrupt masked
1: Interrupt unmasked
Bit 5
Reserved
0x0
resd
Kept at its defaut value.
Bit 4
OUTTEPDMSK
0x0
rw
OUT token received when endpoint disabled mask
0: Interrupt masked
1: Interrupt unmasked
Bit 3
SETUPMSK
0x0
rw
SETUP phase done mask
Applies to control endpoints only.
0: Interrupt masked
1: Interrupt unmasked
Bit 2
Reserved
0x0
resd
Kept at its defaut value.
Bit 1
EPTDISMSK
0x0
rw
Endpoint disabled interrupt mask
0: Interrupt masked
1: Interrupt unmasked
Bit 0
XFERCMSK
0x0
rw
Transfer completed interrupt mask
0: Interrupt masked
1: Interrupt unmasked
20.6.5.6 OTGFS device all endpoints interrupt mask register
(OTGFS_DAINT)
When an event occurs on an endpoint, The IN/OUT endpoint interrupt bits in the OTGS_DAINT register
can be used to interrupt the application. There is one interrupt pit per endpoint, up to 8 interrupt bits for
OUT endpoints and 8 bits for IN endpoints. For a bidirectional endpoint, the corresponding IN and OUT
interrupt bits are used at the same time. The corresponding bits in this register are set and cleared when
the application sets and clears the bits in the corresponding device endpoint-x interrupt register.
Bit
Register
Reset value
Type
Description
Bit 31: 24 Reserved
0x0000
resd
Kept at its defaut value.
Bit 23: 16 OUTEPTINT
0x0000
ro
OUT endpoint interrupt bits
One OUT endpoint per bit. Bit 16 for OUT endpoint 0, bit
18 for OUT endpoint 2.
Bit 15: 8
Reserved
0x0000
resd
Kept at its defaut value.
Bit 7: 0
INEPTINT
0x0000
ro
IN endpoint interrupt bits
One IN endpoint per bit. Bit 0 for IN endpoint 0, bit 7 for IN