38.7.1 CPCON
| Name: | CPCON |
| Offset: | 0x100D |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| CPON[1:0] | CPOS | CPREQ | CPT | CPRDY | |||||
| Access | R/W | R/W | R/W | R | R | R | |||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | |||
Bits 7:6 – CPON[1:0]
| Value | Description |
|---|---|
| 11 | Charge pump is enabled |
| 10 | Charge pump is automatically enabled when VDD < VAUTO (VAUTO = 4.096V) |
| 01 | Charge
pump is automatically enabled when an analog peripheral is enabled
(ADCON0.ON = 1) and VDD <
VAUTO |
| 00 | Charge pump is disabled |
Bit 5 – CPOS
| Value | Name | Description |
|---|---|---|
| 1 | Charge pump clock is the internal charge pump oscillator | |
| 0 | When ADC GO bit =
1 |
Charge pump clock is FOSC (oscillator frequency determined by ADCLK) |
| 0 | When ADC GO bit =
0 |
Charge pump clock is the ADCRC |
Bit 2 – CPREQ
| Value | Description |
|---|---|
| 1 | Charge pump has been requested by an analog peripheral |
| 0 | Charge pump has not been requested by an analog peripheral |
Bit 1 – CPT
| Value | Description |
|---|---|
| 1 | VDD is above the charge pump auto-enable threshold (VAUTO) |
| 0 | VDD is below the charge pump auto-enable threshold (VAUTO) |
Bit 0 – CPRDY
| Value | Description |
|---|---|
| 1 | Charge pump has reached a steady-state operation |
| 0 | Charge pump is off or has not reached a steady-state operation |
