English
Language : 

PIC24FJ256GB106-I Datasheet, PDF (209/328 Pages) Microchip Technology – 64/80/100-Pin, 16-Bit Flash Microcontrollers with USB On-The-Go (OTG)
PIC24FJ256GB110 FAMILY
REGISTER 17-4: U1OTGCON: USB ON-THE-GO CONTROL REGISTER
U-0
U-0
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
—
—
bit 15
U-0
—
bit 8
R/W-0
DPPULUP
bit 7
R/W-0
R/W-0
R/W-0
R/W-0
DMPULUP DPPULDWN(1) DMPULDWN(1) VBUSON(1)
R/W-0
OTGEN(1)
R/W-0
R/W-0
VBUSCHG(1) VBUSDIS(1)
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Unimplemented: Read as ‘0’
DPPULUP: D+ Pull-Up Enable bit
1 = D+ data line pull-up resistor enabled
0 = D+ data line pull-up resistor disabled
DMPULUP: D- Pull-Up Enable bit
1 = D- data line pull-up resistor enabled
0 = D- data line pull-up resistor disabled
DPPULDWN: D+ Pull-Down Enable bit(1)
1 = D+ data line pull-down resistor enabled
0 = D+ data line pull-down resistor disabled
DMPULDWN: D- Pull-Down Enable bit(1)
1 = D- data line pull-down resistor enabled
0 = D- data line pull-down resistor disabled
VBUSON: VBUS Power-on bit(1)
1 = VBUS line powered
0 = VBUS line not powered
OTGEN: OTG Features Enable bit(1)
1 = USB OTG enabled; all D+/D- pull-ups and pull-downs bits are enabled
0 = USB OTG disabled; D+/D- pull-ups and pull-downs are controlled in hardware by the settings of the
HOSTEN and USBEN bits (U1CON<3,0>)
VBUSCHG: VBUS Charge Select bit(1)
1 = VBUS line set to charge to 3.3V
0 = VBUS line set to charge to 5V
VBUSDIS: VBUS Discharge Enable bit(1)
1 = VBUS line discharged through a resistor
0 = VBUS line not discharged
Note 1: These bits are only used in Host mode; do not use in Device mode.
© 2008 Microchip Technology Inc.
Preliminary
DS39897B-page 207