Microchip Technology AC164139 データシート

ページ / 408
PIC24FJ256DA210 FAMILY
DS39969B-page 256
 2010 Microchip Technology Inc.
  
REGISTER 18-4:
U1OTGCON: USB ON-THE-GO CONTROL REGISTER
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
DPPULUP
DMPULUP DPPULDWN
(1)
DMPULDWN
(1)
VBUSON
(1)
OTGEN
(1)
VBUSCHG
(1)
VBUSDIS
(1)
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-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
DPPULUP: D+ Pull-up Enable bit
1
 = D+ data line pull-up resistor is enabled
0
 = D+ data line pull-up resistor is disabled
bit 6
DMPULUP: D- Pull-up Enable bit
1
 = D- data line pull-up resistor is enabled
0
 = D- data line pull-up resistor is disabled
bit 5
DPPULDWN: D+ Pull-Down Enable bit
(1)
1
 = D+ data line pull-down resistor is enabled
0
 = D+ data line pull-down resistor is disabled
bit 4
DMPULDWN: D- Pull-Down Enable bit
(1)
1
 = D- data line pull-down resistor is enabled
0
 = D- data line pull-down resistor is disabled
bit 3
VBUSON: V
BUS
 Power-on bit
(1)
1
  = V
BUS
 line is powered
0
  = V
BUS
 line is not powered
bit 2
OTGEN: OTG Features Enable bit
(1)
1
 = USB OTG is enabled; all D+/D- pull-up and pull-down bits are enabled
0
 = USB OTG is disabled; D+/D- pull-up and pull-down bits are controlled in hardware by the settings
of the HOSTEN and USBEN (U1CON<3,0>) bits
bit 1
VBUSCHG: V
BUS
 Charge Select bit
(1)
1
  = V
BUS
 line is set to charge to 3.3V
0
  = V
BUS
 line is set to charge to 5V
bit 0
VBUSDIS: V
BUS
 Discharge Enable bit
(1)
1
  = V
BUS
 line is discharged through a resistor
0
  = V
BUS
 line is not discharged
Note 1:
These bits are only used in Host mode; do not use in Device mode.