PIC32MM0256GPM048 CCP4 registers The 9 registers of CCP4 (Capture/compare/PWM 4), from 0xBF800400, with their reset value and every field. The PIC32MM0256GPM048 has 433 registers in 53 peripherals, one page each.
Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.
CCP4 Capture/compare/PWM 4 CCP4CON1
Address 0xBF800400
Reset 0x00000000
Access read/write
Size 32-bit 16 fields
Field Bits What it does RTRGEN 30 OPS 27:24 TRIGEN 23 ONESHOT 22 ALTSYNC 21 SYNC 20:16 ON 15 SIDL 13 CCPSLP 12 TMRSYNC 11 CLKSEL 10:8 0 System Clock (Fsys)1 REFCLKO Output Clock2 Secondary Oscillator Clock (SOSC)3 CLC1 Output4 Reserved5 Reserved6 TCKIB Pin (remappable)7 TCKIA Pin (remappable)TMRPS 7:6 T32 5 CCSEL 4 MOD 3:0 OPSSRC 31
CCP4CON2
Address 0xBF800410
Reset 0x01000000
Access read/write
Size 32-bit 9 fields
Field Bits What it does OCAEN 24 ICGSM 23:22 AUXOUT 20:19 ICS 18:16 0 ICM4 pin (remappable)1 Comparator 1 Output2 Comparator 2 Output3 Comparator 3 Output4 CLC1 Output5 CLC2 Output6 CLC3 Output7 CLC4 OutputPWMRSEN 15 ASDGM 14 SSDG 12 ASDG 7:0 0 Disabled1 Comparator 12 Comparator 24 Comparator 38 MCCP2 output16 MCCP1 output32 CLC1 output64 OCFA pin (remappable)128 OCFB pin (remappable)OENSYNC 31
CCP4CON3
Address 0xBF800420
Reset 0x00000000
Access read/write
Size 32-bit 4 fields
Field Bits What it does OSCNT 30:28 POLACE 21 PSSACE 19:18 OETRIG 31
CCP4STAT
Address 0xBF800430
Reset 0x00000000
Access read/write
Size 32-bit 14 fields
Field Bits What it does PRLWIP 20 TMRHWIP 19 TMRLWIP 18 RBWIP 17 RAWIP 16 ICGARM 10 CCPTRIG 7 TRSET 6 TRCLR 5 ASEVT 4 SCEVT 3 ICDIS 2 ICOV 1 ICBNE 0
CCP4TMR
Address 0xBF800440
Reset 0x00000000
Access read/write
Size 32-bit 2 fields
Field Bits What it does TMRL 15:0 TMRH 31:16
CCP4PR
Address 0xBF800450
Reset 0x00000000
Access read/write
Size 32-bit 2 fields
Field Bits What it does PRL 15:0 PRH 31:16
CCP4RA
Address 0xBF800460
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does CMPA 15:0
CCP4RB
Address 0xBF800470
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does CMPB 15:0
CCP4BUF
Address 0xBF800480
Reset 0x00000000
Access read/write
Size 32-bit 2 fields
Field Bits What it does BUFL 15:0 BUFH 31:16