Datasheet

© 2007 Microchip Technology Inc. DS41211D-page 81
PIC12F683
TABLE 11-4: REGISTERS ASSOCIATED WITH CAPTURE, COMPARE AND TIMER1
TABLE 11-5: REGISTERS ASSOCIATED WITH PWM AND TIMER2
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
CCP1CON
DC1B1 DC1B0 CCP1M3 CCP1M2 CCP1M1 CCP1M0 --00 0000 --00 0000
CCPR1L Capture/Compare/PWM Register 1 Low Byte (LSB) xxxx xxxx xxxx xxxx
CCPR1H Capture/Compare/PWM Register 1 High Byte (MSB) xxxx xxxx xxxx xxxx
CMCON1
—T1GSSCMSYNC ---- --10 ---- --10
INTCON GIE PEIE
T0IE INTE GPIE T0IF INTF GPIF 0000 0000 0000 000x
PIE1
EEIE ADIE CCP1IE CMIE OSFIE TMR2IE TMR1IE 000- 0000 000- 0000
PIR1
EEIF ADIF CCP1IF CMIF OSFIF TMR2IF TMR1IF 000- 0000 000- 0000
T1CON
T1GINV TMR1GE T1CKPS1 T1CKPS0 T1OSCEN T1SYNC TMR1CS TMR1ON 0000 0000 0000 0000
TMR1L Holding Register for the Least Significant Byte of the 16-bit TMR1 Register xxxx xxxx xxxx xxxx
TMR1H Holding Register for the Most Significant Byte of the 16-bit TMR1 Register xxxx xxxx xxxx xxxx
TRISIO
TRISIO5 TRISIO4 TRISIO3 TRISIO2 TRISIO1 TRISIO0 --11 1111 --11 1111
Legend: – = Unimplemented locations, read as0’, u = unchanged, x = unknown. Shaded cells are not used by the Capture and Compare.
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
CCP1CON
DC1B1 DC1B0 CCP1M3 CCP1M2 CCP1M1 CCP1M0 --00 0000 --00 0000
CCPR1L Capture/Compare/PWM Register 1 Low Byte (LSB) xxxx xxxx xxxx xxxx
CCPR1H Capture/Compare/PWM Register 1 High Byte (MSB) xxxx xxxx xxxx xxxx
INTCON GIE PEIE
T0IE INTE GPIE T0IF INTF GPIF 0000 0000 0000 000x
PIE1
EEIE ADIE CCP1IE CMIE OSFIE TMR2IE TMR1IE 000- 0000 -000 0000
PIR1
EEIF ADIF CCP1IF CMIF OSFIF TMR2IF TMR1IF 000- 0000 -000 0000
PR2
Timer2 Period Register 1111 1111
1111 1111
T2CON
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
TMR2 Timer2 Module Register 0000 0000 0000 0000
TRISIO
TRISIO5 TRISIO4 TRISIO3 TRISIO2 TRISIO1 TRISIO0 --11 1111 --11 1111
Legend: – = Unimplemented locations, read as0’, u = unchanged, x = unknown. Shaded cells are not used by the PWM.