Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC18F4685-E/ML 数据手册 > PIC18F4685-E/ML 数据手册 166/484 页


¥ 34.818
PIC18F4685-E/ML 数据手册 - Microchip(微芯)
制造商:
Microchip(微芯)
分类:
微控制器
封装:
QFN-44
描述:
PIC18 系列 3328 B RAM 96 kB 闪存 8位 微控制器 - QFN-44
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
引脚图在P4P5P167P169P176Hot
典型应用电路图在P193
原理图在P10P12P13P27P43P146P150P154P160P162P168P169
封装尺寸在P459
标记信息在P457P458
封装信息在P457P459P460P461P462P463
技术参数、封装参数在P432P433P434P436P437P438
应用领域在P180P272
电气规格在P107P260P261P265P266
导航目录
PIC18F4685-E/ML数据手册
Page:
of 484 Go
若手册格式错乱,请下载阅览PDF原文件

PIC18F2682/2685/4682/4685
DS39761B-page 164 Preliminary © 2007 Microchip Technology Inc.
15.1 CCP1 Module Configuration
Each Capture/Compare/PWM module is associated
with a control register (CCP1CON or ECCP1CON) and
a data register (CCPR1 or ECCPR1). The data register,
in turn, is comprised of two 8-bit registers: CCPR1L or
ECCPR1L (low byte) and CCPR1H or ECCPR1H (high
byte). All registers are both readable and writable.
15.1.1 CCP1 MODULES AND TIMER
RESOURCES
The CCP1 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 15-1: CCP1 MODE – TIMER
RESOURCE
The assignment of a particular timer to a module is
determined by the Timer to CCP1/ECCP1 enable bits
in the T3CON register (Register 14-1). Both modules
may be active at any given time and may share the
same timer resource if they are configured to operate
in the same mode (Capture/Compare or PWM) at the
same time. The interactions between the two modules
are summarized in Figure 15-1 and Figure 15-2.
TABLE 15-2: INTERACTIONS BETWEEN CCP1 AND ECCP1 FOR TIMER RESOURCES
CCP1/ECCP1 Mode Timer Resource
Capture
Compare
PWM
Timer1 or Timer3
Timer1 or Timer3
Timer2
CCP1 Mode ECCP1 Mode Interaction
Capture Capture Each module can use TMR1 or TMR3 as the time base. Time base can be different for
each CCP1.
Capture Compare CCP1 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 CCP1 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 ECCP1 trigger event can be done. Conflicts may occur if
both modules are using the same time base.
Capture PWM* None
Compare PWM* None
PWM* Capture None
PWM* Compare None
PWM* PWM Both PWMs will have the same frequency and update rate (TMR2 interrupt).
* Includes standard and Enhanced PWM operation.
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件