Datasheet

© 2009-2012 Microchip Technology Inc. Preliminary DS70616F-page 391
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
REGISTER 22-6: UxCON: USB CONTROL REGISTER (HOST MODE)
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
bit 15 bit 8
R-x, HSC
R-x, HSC
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
JSTATE SE0 TOKBUSY USBRST HOSTEN RESUME PPBRST SOFEN
bit 7 bit 0
Legend: U = Unimplemented bit, read as ‘0’
R = Readable bit W = Writable bit HSC = Hardware Settable/Clearable 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 JSTATE: Live Differential Receiver J State Flag bit
1 = J state (differential ‘0’ in low-speed, differential ‘1’ in full-speed) detected on the USB
0 = No J state detected
bit 6 SE0: Live Single-Ended Zero Flag bit
1 = Single-ended zero active on the USB bus
0 = No single-ended zero detected
bit 5 TOKBUSY: Token Busy Status bit
1 = Token being executed by the USB module in On-The-Go state
0 = No token being executed
bit 4 USBRST: Module Reset bit
1 = USB Reset has been generated; for Software Reset, application must set this bit for 50 ms, and
then clear it
0 = USB Reset terminated
bit 3 HOSTEN: Host Mode Enable bit
1 = USB host capability enabled; pull-downs on D+ and D- are activated in hardware
0 = USB host capability disabled
bit 2 RESUME: Resume Signaling Enable bit
1 = Resume signaling activated; software must set bit for 10 ms, and then clear to enable remote
wake-up
0 = Resume signaling disabled
bit 1 PPBRST: Ping-Pong Buffers Reset bit
1 = Reset all Ping-Pong Buffer Pointers to the EVEN buffer descriptor banks
0 = Ping-Pong Buffer Pointers not reset
bit 0 SOFEN: Start of Frame Enable bit
1 = Start of Frame token sent every one 1 ms
0 = Start of Frame token disabled