PIC16C7X
TABLE 10-5: REGISTERS ASSOCIATED WITH PWM AND TIMER2
Address Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on:
POR,
BOR
Value on
all other
resets
0Bh,8Bh, INTCON
10Bh,18Bh
0Ch
0Dh(2)
PIR1
PIR2
8Ch
8Dh(2)
PIE1
PIE2
GIE
PEIE
PSPIF(1,2)
—
PSPIE(1,2)
—
ADIF
—
ADIE
—
T0IE
INTE
RBIE
T0IF
INTF
RBIF 0000 000x 0000 000u
RCIF(2)
—
RCIE(2)
—
TXIF(2)
—
TXIE(2)
—
SSPIF
—
SSPIE
—
CCP1IF
—
CCP1IE
—
TMR2IF
—
TMR2IE
—
TMR1IF 0000 0000 0000 0000
CCP2IF ---- ---0 ---- ---0
TMR1IE 0000 0000 0000 0000
CCP2IE ---- ---0 ---- ---0
87h
TRISC PORTC Data Direction Register
1111 1111 1111 1111
11h
TMR2
Timer2 module’s register
0000 0000 0000 0000
92h
PR2
Timer2 module’s period register
1111 1111 1111 1111
12h
T2CON
— TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
15h
CCPR1L Capture/Compare/PWM register1 (LSB)
xxxx xxxx uuuu uuuu
16h
CCPR1H Capture/Compare/PWM register1 (MSB)
xxxx xxxx uuuu uuuu
17h
1Bh(2)
1Ch(2)
1Dh(2)
CCP1CON
—
—
CCP1X CCP1Y
CCPR2L Capture/Compare/PWM register2 (LSB)
CCPR2H Capture/Compare/PWM register2 (MSB)
CCP2CON
—
—
CCP2X CCP2Y
CCP1M3 CCP1M2 CCP1M1 CCP1M0 --00 0000 --00 0000
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
CCP2M3 CCP2M2 CCP2M1 CCP2M0 --00 0000 --00 0000
Legend: x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by PWM and Timer2.
Note 1: Bits PSPIE and PSPIF are reserved on the PIC16C73/73A/76, always maintain these bits clear.
2: The PIC16C72 does not have a Parallel Slave Port, USART or CCP2 module, these bits are unimplemented, read as '0'.
DS30390E-page 76
© 1997 Microchip Technology Inc.