C8051F340/1/2/3/4/5/6/7
SFR Definition 8.1. REG0CN: Voltage Regulator Control
| R/W |
| R | R/W | R/W | R/W | R/W | R/W | R/W | Reset Value | ||
| REGDIS |
| VBSTAT | VBPOL | REGMOD | Reserved |
| Reserved | Reserved | Reserved | 00000000 | |
| Bit7 |
| Bit6 | Bit5 | Bit4 | Bit3 | Bit2 | Bit1 | Bit0 | SFR Address: | ||
|
|
|
|
|
|
|
|
|
|
|
| 0xC9 |
| Bit7: | REGDIS: Voltage Regulator Disable. |
|
|
|
|
|
| ||||
|
| 0: Voltage Regulator Enabled. |
|
|
|
|
|
| ||||
|
| 1: Voltage Regulator Disabled. |
|
|
|
|
|
| ||||
| Bit6: | VBSTAT: VBUS Signal Status. |
|
|
|
|
|
| ||||
|
| 0: VBUS signal currently absent (device not attached to USB network). |
| |||||||||
|
| 1: VBUS signal currently present (device attached to USB network). |
|
| ||||||||
| Bit5: | VBPOL: VBUS Interrupt Polarity Select. |
|
|
|
| ||||||
|
| This bit selects the VBUS interrupt polarity. |
|
|
|
| ||||||
|
| 0: VBUS interrupt active when VBUS is low. |
|
|
|
| ||||||
|
| 1: VBUS interrupt active when VBUS is high. |
|
|
|
| ||||||
| Bit4: | REGMOD: Voltage Regulator Mode Select. |
|
|
|
| ||||||
|
| This bit selects the Voltage Regulator mode. When REGMOD is set to ‘1’, the voltage regu- | ||||||||||
|
| lator operates in low power (suspend) mode. |
|
|
|
| ||||||
|
| 0: USB0 Voltage Regulator in normal mode. |
|
|
|
| ||||||
|
| 1: USB0 Voltage Regulator in low power mode. |
|
|
|
| ||||||
| Reserved. Read = 0000b. Must Write = 0000b. |
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
72 | Rev. 0.5 |