PIC18F06Q20 ECCP2 registers The 16 registers of ECCP2 (Enhanced capture/compare/PWM 2), from 0x162, with their reset value and every field. The PIC18F06Q20 has 544 registers in 38 peripherals, one page each.
ECCP2 Enhanced capture/compare/PWM 2 PWM2ERS
Address 0x162
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 ERS3 2 ERS2 1 ERS1 0 ERS0 1 field
Field Bits What it does ERS 3:0
PWM2CLK
Address 0x163
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 CLK3 2 CLK2 1 CLK1 0 CLK0 1 field
Field Bits What it does CLK 3:0
PWM2LDS
Address 0x164
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 LDS3 2 LDS2 1 LDS1 0 LDS0 1 field
Field Bits What it does LDS 3:0
PWM2PRL
Address 0x165
Reset 0x00
Access read/write 7 PRL7 6 PRL6 5 PRL5 4 PRL4 3 PRL3 2 PRL2 1 PRL1 0 PRL0 1 field
Field Bits What it does PRL 7:0
PWM2PRH
Address 0x166
Reset 0x00
Access read/write 7 PRH7 6 PRH6 5 PRH5 4 PRH4 3 PRH3 2 PRH2 1 PRH1 0 PRH0 1 field
Field Bits What it does PRH 7:0
PWM2CPRE
Address 0x167
Reset 0x00
Access read/write 7 CPRE7 6 CPRE6 5 CPRE5 4 CPRE4 3 CPRE3 2 CPRE2 1 CPRE1 0 CPRE0 1 field
Field Bits What it does CPRE 7:0
PWM2PIPOS
Address 0x168
Reset 0x00
Access read/write 7 PIPOS7 6 PIPOS6 5 PIPOS5 4 PIPOS4 3 PIPOS3 2 PIPOS2 1 PIPOS1 0 PIPOS0 1 field
Field Bits What it does PIPOS 7:0
PWM2GIR
Address 0x169
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 S1P2IF 0 S1P1IF 2 fields
Field Bits What it does S1P2IF 1 S1P1IF 0
PWM2GIE
Address 0x16A
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 S1P2IE 0 S1P1IE 2 fields
Field Bits What it does S1P2IE 1 S1P1IE 0
PWM2CON
Address 0x16B
Reset 0x00
Access read/write 7 EN 6 – 5 – 4 – 3 – 2 LD 1 ERSPOL 0 ERSNOW 4 fields
Field Bits What it does EN 7 LD 2 ERSPOL 1 ERSNOW 0
PWM2S1CFG
Address 0x16C
Reset 0x00
Access read/write 7 POL2 6 POL1 5 – 4 – 3 PPEN 2 MODE2 1 MODE1 0 MODE0 4 fields
Field Bits What it does POL2 7 POL1 6 PPEN 3 MODE 2:0
PWM2S1P1L
Address 0x16D
Reset 0x00
Access read/write 7 S1P1L7 6 S1P1L6 5 S1P1L5 4 S1P1L4 3 S1P1L3 2 S1P1L2 1 S1P1L1 0 S1P1L0 1 field
Field Bits What it does S1P1L 7:0
PWM2S1P1H
Address 0x16E
Reset 0x00
Access read/write 7 S1P1H7 6 S1P1H6 5 S1P1H5 4 S1P1H4 3 S1P1H3 2 S1P1H2 1 S1P1H1 0 S1P1H0 1 field
Field Bits What it does S1P1H 7:0
PWM2S1P2L
Address 0x16F
Reset 0x00
Access read/write 7 S1P2L7 6 S1P2L6 5 S1P2L5 4 S1P2L4 3 S1P2L3 2 S1P2L2 1 S1P2L1 0 S1P2L0 1 field
Field Bits What it does S1P2L 7:0
PWM2S1P2H
Address 0x170
Reset 0x00
Access read/write 7 S1P2H7 6 S1P2H6 5 S1P2H5 4 S1P2H4 3 S1P2H3 2 S1P2H2 1 S1P2H1 0 S1P2H0 1 field
Field Bits What it does S1P2H 7:0
PWM2ERSPPS
Address 0x387
Reset 0x11
Access read/write 7 – 6 – 5 – 4 PWM2ERSPPS4 3 PWM2ERSPPS3 2 PWM2ERSPPS2 1 PWM2ERSPPS1 0 PWM2ERSPPS0 1 field
Field Bits What it does PWM2ERSPPS 4:0