English
Language : 

K60P100M100SF2RM Datasheet, PDF (1249/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Field
3
SESSVLDEN
2
BSESSEN
1
Reserved
0
AVBUSEN
Chapter 45 Universal Serial Bus OTG Controller (USBOTG)
USBx_OTGICR field descriptions (continued)
Session valid interrupt enable
Description
0 The SESSVLDCHG interrupt is disabled.
1 The SESSVLDCHG interrupt is enabled.
B Session END interrupt enable
0 The B_SESS_CHG interrupt is disabled
1 The B_SESS_CHG interrupt is enabled
This read-only field is reserved and always has the value zero.
A VBUS Valid interrupt enable
0 The AVBUSCHG interrupt is disabled
1 The AVBUSCHG interrupt is enabled
45.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
Write
0
0
SESS_VLD BSESSEND
AVBUSVLD
Reset
0
0
0
0
0
0
0
0
USBx_OTGSTAT field descriptions
Field
Description
7
Indicates the current state of the ID pin on the USB connector
ID
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
This bit indicates that the internal signals that control the LINE_STATE_CHG bit (bit 5) of the
LINESTATESTABLE 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...
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1249