Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC18F26K20-I/SP 数据手册 > PIC18F26K20-I/SP 数据手册 144/456 页
PIC18F26K20-I/SP
器件3D模型
16.269
导航目录
PIC18F26K20-I/SP数据手册
Page:
of 456 Go
若手册格式错乱,请下载阅览PDF原文件
PIC18F2XK20/4XK20
DS41303G-page 144 2010 Microchip Technology Inc.
11.1 CCP Module Configuration
Each Capture/Compare/PWM module is associated
with a control register (generically, CCPxCON) and a
data register (CCPRx). The data register, in turn, is
comprised of two 8-bit registers: CCPRxL (low byte)
and CCPRxH (high byte). All registers are both
readable and writable.
11.1.1 CCP MODULES AND TIMER
RESOURCES
The CCP modules utilize Timers 1, 2 or 3, depending
on the mode selected. Timer1 and Timer3 are available
to modules in Capture or Compare modes, while
Timer2 is available for modules in PWM mode.
TABLE 11-1: CCP MODE – TIMER
RESOURCE
The assignment of a particular timer to a module is
determined by the Timer-to-CCP enable bits in the
T3CON register (Register 15-1). Both modules can be
active at the same time and can share the same timer
resource if they are configured to operate in the same
mode (Capture/Compare or PWM). The interactions
between the two modules are summarized in Figure 11-1
and Figure 11-2. In Asynchronous Counter mode, the
capture operation will not work reliably.
11.1.2 CCP2 PIN ASSIGNMENT
The pin assignment for CCP2 (Capture input, Compare
and PWM output) can change, based on device config-
uration. The CCP2MX Configuration bit determines the
pin with which CCP2 is multiplexed. By default, it is
assigned to RC1 (CCP2MX = 1). If the Configuration bit
is cleared, CCP2 is multiplexed with RB3.
Changing the pin assignment of CCP2 does not
automatically change any requirements for configuring
the port pin. Users must always verify that the
appropriate TRIS register is configured correctly for
CCP2 operation, regardless of where it is located.
TABLE 11-2: INTERACTIONS BETWEEN CCP1 AND CCP2 FOR TIMER RESOURCES
CCP/ECCP Mode Timer Resource
Capture Timer1 or Timer3
Compare Timer1 or Timer3
PWM Timer2
CCP1 Mode CCP2 Mode Interaction
Capture Capture Each module can use TMR1 or TMR3 as the time base. The time base can be different
for each CCP.
Capture Compare CCP2 can be configured for the Special Event Trigger to reset TMR1 or TMR3
(depending upon which time base is used). Automatic A/D conversions on trigger event
can also be done. Operation of CCP1 could be affected if it is using the same timer as a
time base.
Compare Capture CCP1 can be configured for the Special Event Trigger to reset TMR1 or TMR3
(depending upon which time base is used). Operation of CCP2 could be affected if it is
using the same timer as a time base.
Compare Compare Either module can be configured for the Special Event Trigger to reset the time base.
Automatic A/D conversions on CCP2 trigger event can be done. Conflicts may occur if
both modules are using the same time base.
Capture PWM None
Compare PWM None
PWM
(1)
Capture None
PWM
(1)
Compare None
PWM
(1)
PWM Both PWMs will have the same frequency and update rate (TMR2 interrupt).
Note 1: Includes standard and enhanced PWM operation.

PIC18F26K20-I/SP 数据手册

Microchip(微芯)
456 页 / 3.71 MByte
Microchip(微芯)
42 页 / 0.49 MByte
Microchip(微芯)
52 页 / 0.06 MByte
Microchip(微芯)
18 页 / 0.41 MByte
Microchip(微芯)
120 页 / 0.32 MByte
Microchip(微芯)
1 页 / 2.57 MByte

PIC18F26K20 数据手册

Microchip(微芯)
MICROCHIP  PIC18F26K20-I/SS  微控制器, 8位, 闪存, AEC-Q100, PIC18FxxKxx, 64 MHz, 64 KB, 3.84 KB, 28 引脚, SSOP
Microchip(微芯)
PIC18F2xK20/4xK20 8 位闪存微控制器### PIC18 微控制器
Microchip(微芯)
MICROCHIP  PIC18F26K20-I/SO  微控制器, 8位, 闪存, AEC-Q100, PIC18FxxKxx, 64 MHz, 64 KB, 3.84 KB, 28 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC18F26K20-E/SO  微控制器, 8位, 闪存, AEC-Q100, PIC18FxxKxx, 64 MHz, 64 KB, 3.84 KB, 28 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC18F26K20-E/SS  微控制器, 8位, 闪存, AEC-Q100, PIC18FxxKxx, 64 MHz, 64 KB, 3.84 KB, 28 引脚, SSOP
Microchip(微芯)
MICROCHIP  PIC18F26K20-E/ML  微控制器, 8位, 闪存, AEC-Q100, PIC18FxxKxx, 64 MHz, 64 KB, 3.84 KB, 28 引脚, QFN
Microchip(微芯)
MICROCHIP  PIC18F26K20-I/SP  微控制器, 8位, 闪存, AEC-Q100, PIC18FxxKxx, 64 MHz, 64 KB, 3.84 KB, 28 引脚, DIP
Microchip(微芯)
8位 MCU微控制单元, PIC18 Family PIC18F2xK20 Series Microcontrollers, 64 MHz, 64 KB, 3.84 KB, 28 引脚
Microchip(微芯)
PIC18 系列 3936 B RAM 64 kB 闪存 8-位 微控制器 - SSOP-28
Microchip(微芯)
PIC18F2xK20/4xK20 8 位闪存微控制器### PIC18 微控制器
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件