22.6.3 CCPRx
Name: | CCPRx |
Address: | 0x30C,0x310,0x314,0x318,0x31C |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
CCPR[15:8] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | x | x | x | x | x | x | x | x |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
CCPR[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | x | x | x | x | x | x | x | x |
Bits 15:0 – CCPR[15:0] Capture/Compare/Pulse-Width
Note: The individual bytes in this
multibyte register can be accessed with the following register names:
- When MODE = Capture or Compare
- CCPRxH: Accesses the high byte CCPR[15:8]
- CCPRxL: Accesses the low byte CCPR[7:0]
- When MODE = PWM and FMT =
0
- CCPRxH[7:2]: Not used
- CCPRxH[1:0]: Accesses the two Most Significant bits CCPR[9:8]
- CCPRxL: Accesses the eight Least Significant bits CCPR[7:0]
- When MODE = PWM and FMT =
1
- CCPRxH: Accesses the eight Most Significant bits CCPR[9:2]
- CCPRxL[7:6]: Accesses the two Least Significant bits CCPR[1:0]
- CCPRxL[5:0]: Not used