Freescale Semiconductor MCF52211 Network Card User Manual


 
Universal Serial Bus, OTG Capable Controller
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 15-15
15.4.1.7 Interrupt Status Register (OTG_STAT)
The Interrupt Status Register displays the actual value from the external comparator outputs of the ID pin
and VBUS. Figure 15-13 shows the OTG_STAT register.
IPSBAR
Offset: 0x1C_0018 (OTG_STAT) Access: User read/write
76543210
R
ID 1_MSEC_EN
LINE_STATE
_STABLE
Reserved
SESS_VLD
B_SESS
_END
Reserved
A_VBUS
_VLD
W–
Reset: 0 0 0 X 0 0 X 0
Figure 15-13. Interrupt Status Register
Table 15-17. OTG_STAT 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
1_MSEC_EN
This bit is reserved for the 1msec count, but it is not useful to software.
5
LINE_STATE
_STABLE
This bit indicates that the internal signals which control the LINE_STATE_CHG bit (bit 5) of the OTG_INT_STAT
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.
0 The LINE_STAT_CHG bit is not yet stable
1 The LINE_STAT_CHG bit has been debounced and is stable
4 Reserved.
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
2
B_SESS
_END
B Session END
0 The VBUS voltage is above the B session End threshold
1 The VBUS voltage is below the B session End threshold
1 Reserved.
0
A_VBUS
_VLD
A VBUS Valid
0 The VBUS voltage is below the A VBUS Valid threshold
1 The VBUS voltage is above the A VBUS Valid threshold