USBx_INTEN field descriptions (continued)
Field
Description
4
SLEEPEN
SLEEP Interrupt Enable
0
Disables the SLEEP interrupt.
1
Enables the SLEEP interrupt.
3
TOKDNEEN
TOKDNE Interrupt Enable
0
Disables the TOKDNE interrupt.
1
Enables the TOKDNE interrupt.
2
SOFTOKEN
SOFTOK Interrupt Enable
0
Disbles the SOFTOK interrupt.
1
Enables the SOFTOK interrupt.
1
ERROREN
ERROR Interrupt Enable
0
Disables the ERROR interrupt.
1
Enables the ERROR interrupt.
0
USBRSTEN
USBRST Interrupt Enable
0
Disables the USBRST interrupt.
1
Enables the USBRST interrupt.
42.4.11 Error Interrupt Status register (USBx_ERRSTAT)
Contains enable bits for each of the error sources within the USB Module. Each of these
bits are qualified with their respective error enable bits. All bits of this register are
logically OR'd together and the result placed in the ERROR bit of the ISTAT register.
After an interrupt bit has been set it may only be cleared by writing a one to the
respective interrupt bit. Each bit is set as soon as the error condition is detected.
Therefore, the interrupt does not typically correspond with the end of a token being
processed. This register contains the value of 0x00 after a reset.
Address: 4007_2000h base + 88h offset = 4007_2088h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
USBx_ERRSTAT field descriptions
Field
Description
7
BTSERR
This bit is set when a bit stuff error is detected. If set, the corresponding packet is rejected due to the error.
Table continues on the next page...
Chapter 42 Universal Serial Bus Full Speed OTG Controller (USBFSOTG)
K22F Sub-Family Reference Manual , Rev. 3, 7/2014
Freescale Semiconductor, Inc.
1009