USBx_OTGISTAT field descriptions (continued)
Field
Description
5
LINE_STATE_
CHG
This interrupt is set when the USB line state (CTL[SE0] and CTL[JSTATE] bits) are stable without change
for 1 millisecond, and the value of the line state is different from the last time when the line state was
stable. It is set on transitions between SE0 and J-state, SE0 and K-state, and J-state and K-state.
Changes in J-state while SE0 is true do not cause an interrupt. This interrupt can be used in detecting
Reset, Resume, Connect, and Data Line Pulse signaling.
4
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
3
SESSVLDCHG
This bit is set when a change in VBUS is detected indicating a session valid or a session no longer valid.
2
B_SESS_CHG
This bit is set when a change in VBUS is detected on a B device.
1
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
0
AVBUSCHG
This bit is set when a change in VBUS is detected on an A device.
42.4.6 OTG Interrupt Control register (USBx_OTGICR)
Enables the corresponding interrupt status bits defined in the OTG Interrupt Status
Register.
Address: 4007_2000h base + 14h offset = 4007_2014h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
USBx_OTGICR field descriptions
Field
Description
7
IDEN
ID Interrupt Enable
0
The ID interrupt is disabled
1
The ID interrupt is enabled
6
ONEMSECEN
One Millisecond Interrupt Enable
0
Diables the 1ms timer interrupt.
1
Enables the 1ms timer interrupt.
5
LINESTATEEN
Line State Change Interrupt Enable
0
Disables the LINE_STAT_CHG interrupt.
1
Enables the LINE_STAT_CHG interrupt.
4
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
Table continues on the next page...
Memory map/Register definitions
K22F Sub-Family Reference Manual , Rev. 3, 7/2014
1004
Freescale Semiconductor, Inc.