Information

USBx_OTGICR field descriptions (continued)
Field Description
3
SESSVLDEN
Session valid interrupt enable
0 The SESSVLDCHG interrupt is disabled.
1 The SESSVLDCHG interrupt is enabled.
2
BSESSEN
B Session END interrupt enable
0 The B_SESS_CHG interrupt is disabled
1 The B_SESS_CHG interrupt is enabled
1
Reserved
This read-only field is reserved and always has the value zero.
0
AVBUSEN
A VBUS Valid interrupt enable
0 The AVBUSCHG interrupt is disabled
1 The AVBUSCHG interrupt is enabled
42.4.7 OTG Status Register (USBx_OTGSTAT)
The OTG Status Register displays the actual value from the external comparator outputs
of the ID pin and VBUS.
Addresses: USB0_OTGSTAT is 4007_2000h base + 18h offset = 4007_2018h
Bit 7 6 5 4 3 2 1 0
Read
ID
ONEMSECEN
LINESTATESTABLE
0
SESS_VLD BSESSEND
0
AVBUSVLD
Write
Reset
0 0 0 0 0 0 0 0
USBx_OTGSTAT field descriptions
Field Description
7
ID
Indicates the current state of the ID pin on the USB connector
0 Indicates a Type A cable has been plugged into the USB connector
1 Indicates no cable is attached or a Type B cable has been plugged into the USB connector
6
ONEMSECEN
This bit is reserved for the 1msec count, but it is not useful to software.
5
LINESTATESTABLE
This bit indicates that the internal signals that control the LINE_STATE_CHG bit (bit 5) of the
OTGISTAT register have been stable for at least 1 millisecond. First read the LINE_STATE_CHG bit,
and then read this bit. If this bit reads as 1, then the value of LINE_STATE_CHG can be considered
stable.
Table continues on the next page...
Chapter 42 Universal Serial Bus OTG Controller (USBOTG)
K20 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc. 1063