Table 109. OTGIEN Register
OTGIEN (1.E7h) – USB OTG Interrupt Enable Register
7
6
5
4
3
2
1
0
-
-
STOE
HNPERRE ROLEEXE
BCERRE
VBERRE
SRPE
Bit
Bit
Number
Mnemonic Description
Reserved
7-6
5
-
The value read from these bits is always 0. Do not set these bits.
Suspend Time-out Error Interrupt Enable Bit
STOE
HNPERRE
ROLEEXE
BCERRE
VBERRE
SRPE
Set to enable the STOI interrupt.
Clear to disable the STOI interrupt.
HNP Error Interrupt Enable Bit
4
3
2
1
0
Set to enable the HNPERRI interrupt.
Clear to disable the HNPERRI interrupt.
Role Exchange Interrupt Enable Bit
Set to enable the ROLEEXI interrupt.
Clear to disable the ROLEEXI interrupt.
B-Connection Error Interrupt Enable Bit
Set to enable the BCERRI interrupt.
Clear to disable the BCERRI interrupt.
VBus Error Interrupt Enable Bit
Set to enable the VBERRI interrupt.
Clear to disable the VBERRI interrupt.
SRP Interrupt Enable Bit
Set to enable the SRPI interrupt.
Clear to disable the SRPI interrupt.
Reset Value = 0000 0000b
Table 110. OTGINT Register
OTGINT (1.D1h) – USB Global Interrupt Register
7
6
5
4
3
2
1
0
-
-
STOI
HNPERRI
ROLEEXI
BCERRI
VBERRI
SRPI
Bit
Bit
Number
Mnemonic Description
Reserved
7-6
5
-
The value read from these bits is always 0. Do not set these bits.
Suspend Time-out Error Interrupt Flag
Set by hardware when a time-out error (more than 150 ms) has been detected
after a suspend.
STOI
Shall be cleared by software. See for more details.
HNP Error Interrupt Flag
4
HNPERRI
Set by hardware when an error has been detected during the protocol.
Shall be cleared by software. See for more details.
98
AT85C51SND3Bx
7632A–MP3–03/06