26.4.3 CCPx Control Register 3
Note:
- ONESHOT (CCPxCON1[22]) must be set for the OSCNT[2:0] bits to be effective.
| Name: | CCPxCON3 |
| Offset: | 0x1B08, 0x1B38, 0x1B68, 0x1B98, 0x1BC8, 0x1BF8, 0x1C28, 0x1C58, 0x1C88 |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| OETRIG | OSCNT[2:0] | OUTM[2:0] | |||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| POLACE | POLBDF | PSSACE[1:0] | PSSBDF[1:0] | ||||||
| Access | R/W | RW | R/W | R/W | RW | RW | |||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | |||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| DT[5:0] | |||||||||
| Access | RW | RW | RW | RW | RW | RW | |||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | |||
Bit 31 – OETRIG Output Enable on Trigger Control bit
| Value | Description |
|---|---|
1 |
For
Triggered mode (TRIGEN = 1), module does not drive enabled
output pins until triggered. |
0 |
Normal output pin operation |
Bits 30:28 – OSCNT[2:0] One-Shot Count bits(1)
| Value | Description |
|---|---|
111 |
Extend one-shot trigger event 7 time-base count cycles (8 time base periods total). |
110 |
Extend one-shot trigger event 6 time-base count cycles (7 time base periods total). |
101 |
Extend one-shot trigger event 5 time-base count cycles (6 time base periods total). |
100 |
Extend one-shot trigger event 4 time-base count cycles (4 time base periods total). |
011 |
Extend one-shot trigger event 3 time-base count cycles (4 time base periods total). |
010 |
Extend one-shot trigger event 2 time-base count cycles (3 time base periods total). |
001 |
Extend one-shot trigger event 1 time-base count cycle (2 time base periods total). |
000 |
Do not extend one-shot trigger event. |
Bits 26:24 – OUTM[2:0] Output Mode Control bits
| Value | Description |
|---|---|
| 111 | Extend one-shot trigger event 7 time-base count cycles (8 timebase periods total). |
| 110 | Extend one-shot trigger event 6 time-base count cycles (7 timebase periods total). |
| 101 | Extend one-shot trigger event 5 time-base count cycles (6 timebase periods total). |
| 100 | Extend one-shot trigger event 4 time-base count cycles (5 timebase periods total). |
| 011 | Extend one-shot trigger event 3 time-base count cycles (4 timebase periods total). |
| 010 | Extend one-shot trigger event 2 time-base count cycles (3 timebase periods total). |
| 001 | Extend one-shot trigger event 1 time-base count cycle (2 timebase periods total). |
| 000 | Do not extend one-shot trigger event. |
| 111 | Reserved |
| 110 | Output Scan mode |
| 101 | Brush DC Output mode, forward |
| 100 | Brush DC Output mode, reverse |
| 011 | Reserved |
| 010 | Half-Bridge Output mode |
| 001 | Push-Pull Output mode |
| 000 | Steerable Single Output mode |
Bit 21 – POLACE CCP Output Pin, OCxA, Polarity Control bit
| Value | Description |
|---|---|
1 |
Output pin polarity is active-low. |
0 |
Output pin polarity is active-high. |
Bit 20 – POLBDF CCP Output Pins OCxB, OCxD and OCxF Polarity Control bit
| Value | Description |
|---|---|
| 1 | Output pin polarity is active-low. |
| 0 | Output pin polarity is active-high. |
Bits 19:18 – PSSACE[1:0] PWM Output Pin, OCxA, Shutdown State Control bits
| Value | Description |
|---|---|
11 |
Pins are driven active when a shutdown event occurs. |
10 |
Pins are driven inactive when a shutdown event occurs. |
0x |
Pins are tri-stated when a shutdown event occurs. |
Bits 17:16 – PSSBDF[1:0] PWM Output Pins OCxB, OCxD, and OCxF Shutdown State Control bits
| Value | Description |
|---|---|
| 11 | Pins are driven active when a shutdown event occurs. |
| 10 | Pins are driven inactive when a shutdown event occurs. |
| 0x | Pins are tri-stated when a shutdown event occurs. |
Bits 5:0 – DT[5:0] Capture/Compare/PWM Dead-Time Select bits
| Value | Description |
|---|---|
| 111111 | Insert 63 dead-time delay periods between complementary output signals. |
| 000010 | Insert 2 dead-time delay periods between complementary output signals. |
| 000001 | Insert 1 dead-time delay period between complementary output signals. |
| 000000 | Dead-time logic disabled. |
