AT32WB415
Series Reference Manual
2022.04.13
Page 352
Ver 2.00
connected to the device.
Bit 7: 4
Reserved
0x1
resd
Kept at its default value.
Bit 3
ETICERR
0x0
ro
Erratic error
This error causes the controller to enter suspend mode,
and interrupt is generated with the early suspend bit of the
controller interrupt register. If the early suspend is asserted
due to an erratic error, the application can only perform a
software disconnect recover.
Bit 2: 1
ENUMSPD
0x0
ro
Enumerated speed
Indicates the speed at which the controller has determined
after speed detection through a sequence.
01: Reserved
10: Reserved
11: Full speed (PHY clock is running at 48MHz)
;
Others: Reserved
Bit 0
SUSPSTS
0x0
ro
Suspend status
In device mode, this bit is set as long as a suspend
condition is detected on the USB bus. The controller enters
the suspend state when there is no activity on the USB
bus.
The controller exits the suspend state on the following
conditions:
–
When there is an activity on the USB bus
–
When the application writes to the remote wakeup signal
bit in the device control register.
20.6.5.4 OTGFS device OTGFSIN endpoint common interrupt mask
register (OTGFS_DIEPMSK)
This register works with each of the device IN endpoint interrupt register for all endpoints to generate
an IN endpoint interrupt. The IN endpoint interrupt for a specific status in the OTGFS_DIEPINTx
register can be masked by writing to the corresponding bit in the OTGFS_DIEPMSK register. Status
bits are masked by default.
Bit
Register
Reset value
Type
Description
Bit 31: 10 Reserved
0x000000
resd
Kept at its defaut value.
Bit 9
BNAINMSK
0x0
rw
BNA interrupt mask
0: Interrupt masked
1: Interrupt unmasked
Bit 8
TXFIFOUDRMSK
0x0
rw
FIFO underrun mask
0: Interrupt masked
1: Interrupt unmasked
Bit 7
Reserved
0x0
resd
Kept at its defaut value.
Bit 6
INEPTNAKMSK
0x0
rw
IN endpoint NAK effective mask
0: Interrupt masked
1: Interrupt unmasked
Bit 5
INTKNEPTMISMSK 0x0
rw
IN token received with EP mismatch mask
0: Interrupt masked
1: Interrupt unmasked
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