EasyManua.ls Logo

NXP Semiconductors KL25 Series - OTG Status Register (Usbx_Otgstat)

NXP Semiconductors KL25 Series
807 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
USBx_OTGICR field descriptions (continued)
Field Description
0 Disables the B_SESS_CHG interrupt.
1 Enables the B_SESS_CHG interrupt.
1
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
0
AVBUSEN
A VBUS Valid Interrupt Enable
0 Disables the AVBUSCHG interrupt.
1 Enables the AVBUSCHG interrupt.
35.4.7 OTG Status register (USBx_OTGSTAT)
Displays the actual value from the external comparator outputs of the ID pin and VBUS.
Address: 4007_2000h base + 18h offset = 4007_2018h
Bit 7 6 5 4
Read
ID ONEMSECEN LINESTATESTABLE
0
Write
Reset
0 0 0 0
Bit
3 2 1 0
Read
SESS_VLD BSESSEND
0
AVBUSVLD
Write
Reset
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 is plugged into the USB connector.
1 Indicates no cable is attached or a Type B cable is plugged into the USB connector.
6
ONEMSECEN
This bit is reserved for the 1ms count, but it is not useful to software.
5
LINESTATESTABLE
Indicates that the internal signals that control the LINE_STATE_CHG field of OTGISTAT are stable for
at least 1 millisecond. First read LINE_STATE_CHG field and then read this field. If this field reads as
1, then the value of LINE_STATE_CHG can be considered stable.
0 The LINE_STAT_CHG bit is not yet stable.
1 The LINE_STAT_CHG bit has been debounced and is stable.
4
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
3
SESS_VLD
Session Valid
0 The VBUS voltage is below the B session valid threshold
1 The VBUS voltage is above the B session valid threshold.
Table continues on the next page...
Chapter 35 Universal Serial Bus OTG Controller (USBOTG)
KL25 Sub-Family Reference Manual, Rev. 3, September 2012
Freescale Semiconductor, Inc. 627

Table of Contents

Related product manuals