RM0082
HS_USB 2.0 device
Doc ID 018672 Rev 1
497/844
23.8.8
Device interrupt mask register
The device interrupt mask is a RW register which allows to mask the system levels
interrupts. Setting to 1‘b1 the appropriate bit position in the register the designated interrupt
is masked.
If masked, the corresponding interrupt signal will not reach the application and its interrupt
bit will not be set in the Device Interrupt register (
Device interrupt register on page 495
). The
device interrupt mask register bit assignments are given in
Note:
The mask mapping reflects masking on device interrupts register bits e.g. LSB masking
through this register signifies SC interrupt of device interrupt register is masked.
23.8.9 Endpoint
interrupt
register
The endpoint interrupt is a RW register whose bits are set when there are endpoint-level
events. The MSB 16 bits of the register are allocated to out endpoints, and the LSB 16 bits
to in endpoints. The endpoint interrupt register bit assignments are given in
Note:
After checking this register, the application must clear the interrupt by writing a ‘b1 to the
corresponding bit.
23.8.10
Endpoint interrupt mask register
The endpoint interrupt mask is a RW register which allows to mask the endpoint-level
interrupts. Setting to 1‘b1 the appropriate bit position in the register, the designated interrupt
is masked.
If masked, the corresponding interrupt signal will not reach the application and its interrupt
bit will not be set in the endpoint interrupt register (
Endpoint interrupt register on page 497
The endpoint interrupt mask register bit assignments are given in
.
Table 404.
Device interrupt mask register bit assignments
Bit
Name
Reset value Description
[31:07]
Reserved
-
Read: undefined. Write: should be zero.
[06:00]
MASK
7’h0
Mask equivalent device interrupt bit.
Table 405.
Endpoint interrupt register bit assignments
Bit
Name
Reset value Description
[31:16]
OUT EP
16’h0000
One bit per out endpoint.
[15:00]
IN EP
16’h0000
One bit per in endpoint.
Table 406.
Endpoint interrupt mask register bit assignments
Bit
Name
Reset value Description
[31:16]
OUT EP MASK
16’h0000
One bit per out endpoint.
[15:00]
IN EP MASK
16’h0000
One bit per in endpoint.