Datasheet
© 2009-2012 Microchip Technology Inc. Preliminary DS70616F-page 395
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
REGISTER 22-12: UxOTGIR: USB OTG INTERRUPT STATUS REGISTER (HOST MODE ONLY)
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
— — — — — — — —
bit 15 bit 8
R/K-0, HS R/K-0, HS R/K-0, HS R/K-0, HS R/K-0, HS R/K-0, HS U-0 R/K-0, HS
IDIF T1MSECIF LSTATEIF ACTVIF SESVDIF SESENDIF
— VBUSVDIF
bit 7 bit 0
Legend: U = Unimplemented bit, read as ‘0’
R = Readable bit K = Write ‘1’ to clear bit HS = Hardware Settable bit
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 15-8 Unimplemented: Read as ‘0’
bit 7 IDIF: ID State Change Indicator bit
1 = Change in ID state detected
0 = No ID state change
bit 6 T1MSECIF: 1 Millisecond Timer bit
1 = The 1 millisecond timer has expired
0 = The 1 millisecond timer has not expired
bit 5 LSTATEIF: Line State Stable Indicator bit
1 = USB line state (as defined by the SE0 and JSTATE bits) has been stable for 1 ms, but different from
last time
0 = USB line state has not been stable for 1 ms
bit 4 ACTVIF: Bus Activity Indicator bit
1 = Activity on the D+/D- lines or VBUS detected
0 = No activity on the D+/D- lines or VBUS detected
bit 3 SESVDIF: Session Valid Change Indicator bit
1 =VBUS has crossed VA_SESS_VLD (as defined in the USB OTG Specification)
(1)
0 =VBUS has not crossed VA_SESS_VLD
bit 2 SESENDIF: B-Device VBUS Change Indicator bit
1 =V
BUS change on B-device detected; VBUS has crossed VB_SESS_END (as defined in the USB OTG
Specification)
(1)
0 =VBUS has not crossed VA_SESS_END
bit 1 Unimplemented: Read as ‘0’
bit 0 VBUSVDIF: A-Device VBUS Change Indicator bit
1 =VBUS change on A-device detected; VBUS has crossed VA_VBUS_VLD (as defined in the USB OTG
Specification)
(1)
0 =No VBUS change on A-device detected
Note 1: V
BUS threshold crossings may be either rising or falling.