欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC18F2450-I/SO 参数 Datasheet PDF下载

PIC18F2450-I/SO图片预览
型号: PIC18F2450-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚,高性能, 12 MIPS ,增强型闪存, USB微控制器采用纳瓦技术 [28/40/44-Pin, High-Performance, 12 MIPS, Enhanced Flash, USB Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 320 页 / 5591 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC18F2450-I/SO的Datasheet PDF文件第121页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第122页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第123页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第124页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第126页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第127页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第128页浏览型号PIC18F2450-I/SO的Datasheet PDF文件第129页  
PIC18F2450/4450
13.0
CAPTURE/COMPARE/PWM
(CCP) MODULE
PIC18F2450/4450 devices have one CCP (Capture/
Compare/PWM) module. The module contains a 16-bit
register, which can operate as a 16-bit Capture register,
a 16-bit Compare register or a PWM Master/Slave Duty
Cycle register.
REGISTER 13-1:
U-0
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-6
bit 5-4
CCP1CON: CAPTURE/COMPARE/PWM CONTROL REGISTER
U-0
R/W-0
DC1B1
R/W-0
DC1B0
R/W-0
CCP1M3
R/W-0
CCP1M2
R/W-0
CCP1M1
R/W-0
CCP1M0
bit 0
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
Unimplemented:
Read as ‘0’
DC1B1:DC1B0:
PWM Duty Cycle for CCP Module bits
Capture mode:
Unused.
Compare mode:
Unused.
PWM mode:
These bits are the two LSbs (bit 1 and bit 0) of the 10-bit PWM duty cycle. The eight MSbs of the duty
cycle are found in CCPR1L.
CCP1M3:CCP1M0:
CCP Module Mode Select bits
0000
= Capture/Compare/PWM disabled (resets CCP module)
0001
= Reserved
0010
= Compare mode: toggle output on match (CCP1IF bit is set)
0011
= Reserved
0100
= Capture mode: every falling edge
0101
= Capture mode: every rising edge
0110
= Capture mode: every 4th rising edge
0111
= Capture mode: every 16th rising edge
1000
= Compare mode: initialize CCP1 pin low; on compare match, force CCP1 pin high
(CCP1IF bit is set)
1001
= Compare mode: initialize CCP1 pin high; on compare match, force CCP1 pin low
(CCP1IF bit is set)
1010
= Compare mode: generate software interrupt on compare match (CCP1IF bit is set,
CCP1 pin reflects I/O state)
1011
= Compare mode: trigger special event, reset timer and start A/D conversion on CCP1 match
(CCP1IF bit is set)
11xx
= PWM mode
bit 3-0
©
2006 Microchip Technology Inc.
Advance Information
DS39760A-page 123