English
Language : 

PIC16F193X Datasheet, PDF (187/418 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PIC16F193X/LF193X
19.2 CCP Clock Selection
The PIC16F193X/LF193X allows each individual CCP
module to select the timer source that controls the CCP
module. Each module has an independent selection.
As the PIC16F193X/LF193X has only one 16-bit timer
(Timer1), the Capture and Compare modes of the CCP
modules always uses Timer1. As there are three 8-bit
timers with auto-reload (Timer2, Timer4 and Timer6),
PWM mode on the CCP modules can use any of these
timers.
The following registers are used to select which timer is
used:
• CCP Timers Control Register 0 (CCPTMRS0)
• CCP Timers Control Register 1 (CCPTMRS1)
REGISTER 19-2: CCPTMRS0: CCP TIMERS CONTROL REGISTER 0
R/W-0/0
C4TSEL1
bit 7
R/W-0/0
C4TSEL0
R/W-0/0
C3TSEL1
R/W-0/0
C3TSEL0
R/W-0/0
C2TSEL1
R/W-0/0
C2TSEL0
R/W-0/0
C1TSEL1
R/W-0/0
C1TSEL0
bit 0
Legend:
R = Readable bit
u = bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-6
bit 5-4
bit 3-2
bit 1-0
C4TSEL<1:0>: CCP4 Timer Selection
00 = CCP4 is based off Timer 2 in PWM Mode
01 = CCP4 is based off Timer 4 in PWM Mode
10 = CCP4 is based off Timer 6 in PWM Mode
11 = Reserved
C3TSEL<1:0>: CCP3 Timer Selection
00 = CCP3 is based off Timer 2 in PWM Mode
01 = CCP3 is based off Timer 4 in PWM Mode
10 = CCP3 is based off Timer 6 in PWM Mode
11 = Reserved
C2TSEL<1:0>: CCP2 Timer Selection
00 = CCP2 is based off Timer 2 in PWM Mode
01 = CCP2 is based off Timer 4 in PWM Mode
10 = CCP2 is based off Timer 6 in PWM Mode
11 = Reserved
C1TSEL<1:0>: CCP1 Timer Selection
00 = CCP1 is based off Timer 2 in PWM Mode
01 = CCP1 is based off Timer 4 in PWM Mode
10 = CCP1 is based off Timer 6 in PWM Mode
11 = Reserved
© 2008 Microchip Technology Inc.
Preliminary
DS41364A-page 185