44.4.1.4 USB OTG Control Register
| Name: | UOTGCON |
| Offset: | 0x4070 |
| Reset: | 0x0 |
| Property: | - |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| Access | |||||||||
| Reset |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| DPPULUP | DMPULUP | DPPULDWN | DMPULDWN | VBUSON | OTGEN | VBUSCHG | VBUSDIS | ||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – DPPULUP D+ Pull-Up Enable bit
| Value | Description |
|---|---|
| 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
| Value | Description |
|---|---|
| 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
| Value | Description |
|---|---|
| 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
| Value | Description |
|---|---|
| 1 | D- data line pull-down resistor is enabled |
| 0 | D- data line pull-down resistor is disabled |
Bit 3 – VBUSON VBUS Power-on bit
Write a ‘1’ to this bit to clear the interrupt.
| Value | Description |
|---|---|
| 1 |
VBUS line is powered |
| 0 |
VBUS line is not powered |
Bit 2 – OTGEN OTG Functionality Enable bit
| Value | Description |
|---|---|
| 1 | DPPULUP, DMPULUP, DPPULDWN and DMPULDWN bits are under software control |
| 0 | DPPULUP, DMPULUP, DPPULDWN and DMPULDWN bits are under USB hardware control |
Bit 1 – VBUSCHG VBUS Charge Enable bit
| Value | Description |
|---|---|
| 1 |
VBUS line is charged through a pull-up resistor |
| 0 |
VBUS line is not charged through a resistor |
Bit 0 – VBUSDIS VBUS Discharge Enable bit
| Value | Description |
|---|---|
| 1 |
VBUS line is discharged through a pull-down resistor |
| 0 |
VBUS line is not discharged through a resistor |
