Microchip Technology DM240015 Fiche De Données

Page de 472
PIC24FJ128GC010 FAMILY
DS30009312B-page 286
 
 2012-2013 Microchip Technology Inc.
REGISTER 19-8:
U1CON: USB CONTROL 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-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) is detected on the USB
0
 = No J-state is detected
bit 6
SE0: 
Live Single-Ended Zero Flag bit
1
 = Single-ended zero is active on the USB bus
0
 = No single-ended zero is detected
bit 5
TOKBUSY: 
Token Busy Status bit
1
 = Token is being executed by the USB module in On-The-Go state
0
 = No token is being executed
bit 4
USBRST: 
USB Module Reset bit
1
 = USB Reset has been generated for a software Reset; application must set this bit for 50 ms, then
clear it
0
 = USB Reset is terminated
bit 3
HOSTEN:
 Host Mode Enable bit
1
 = USB host capability is enabled; pull-downs on D+ and D- are activated in hardware 
0
 = USB host capability is disabled
bit 2
RESUME:
 Resume Signaling Enable bit
1
 = Resume signaling is activated; software must set bit for 10 ms and then clear to enable remote
wake-up
0
 = Resume signaling is disabled
bit 1
PPBRST: 
Ping-Pong Buffers Reset bit
1
 =  Resets all Ping-Pong Buffer Pointers to the even BD banks
0
 =  Ping-Pong Buffer Pointers are not reset
bit 0
SOFEN: 
Start-of-Frame Enable bit
1
 = Start-of-Frame token is sent every one 1 ms
0
 = Start-of-Frame token is disabled