參數(shù)資料
型號: PIC16F874
廠商: Microchip Technology Inc.
英文描述: Enhanced FLASH/EEPROM 8-Bit Microcontroller With A/D Module(驅(qū)動(dòng)/吸收電流高,工作電壓2.5~5.5V,微控制器)
中文描述: 增強(qiáng)的閃存/ EEPROM 8位A / D模塊(驅(qū)動(dòng)/吸收電流高,工作電壓2.5?5.5V的微控制器,微控制器)
文件頁數(shù): 52/170頁
文件大?。?/td> 4191K
代理商: PIC16F874
PIC16F62X
DS40300C-page 50
Preliminary
2003 Microchip Technology Inc.
8.0
TIMER2 MODULE
Timer2 is an 8-bit timer with a prescaler and a
postscaler. It can be used as the PWM time-base for
PWM mode of the CCP module. The TMR2 register is
readable and writable, and is cleared on any device
RESET.
The input clock (F
OSC
/4) has a prescale option of 1:1,
1:4
or
1:16,
selected
T2CKPS1:T2CKPS0 (T2CON<1:0>).
by
control
bits
The Timer2 module has an 8-bit Period Register PR2.
Timer2 increments from 00h until it matches PR2 and
then resets to 00h on the next increment cycle. PR2 is
a readable and writable register. The PR2 register is
initialized to FFh upon RESET.
The match output of TMR2 goes through a 4-bit
postscaler (which gives a 1:1 to 1:16 scaling inclusive)
to generate a TMR2 interrupt (latched in flag bit
TMR2IF, (PIR1<1>)).
Timer2 can be shut off by clearing control bit TMR2ON
(T2CON<2>) to minimize power consumption.
Register 8-1 shows the Timer2 Control register.
8.1
Timer2 Prescaler and Postscaler
The prescaler and postscaler counters are cleared
when any of the following occurs:
A write to the TMR2 register
A write to the T2CON register
Any device RESET (Power-on Reset, MCLR
Reset, Watchdog Timer Reset, or Brown-out
Reset)
TMR2 is not cleared when T2CON is written.
8.2
Output of TMR2
The output of TMR2 (before the postscaler) is fed to the
Synchronous Serial Port module which optionally uses
it to generate shift clock.
FIGURE 8-1:
TIMER2 BLOCK DIAGRAM
Comparator
TMR2
output (1)
Sets flag
bit TMR2IF
TMR2 reg
RESET
Postscaler
1:1
to
Prescaler
1:1, 1:4, 1:16
PR2 reg
2
F
OSC
/4
1:16
EQ
4
Note
1:
TMR2 register output can be software selected by the
SSP Module as a baud clock.
T2CKPS<1:0>
TOUTPS<3:0>
相關(guān)PDF資料
PDF描述
PIC17C762 80/84-Pin 8-Bit OTP High-Performance Microcontroller with 10-Bit A/D(4路捕捉,3路PWM,工作電流3.0~5.5V的微控制器)
PIC17C766 80/84-Pin 8-Bit OTP High-Performance Microcontroller with 10-Bit A/D(4路捕捉,3路PWM,工作電流3.0~5.5V的微控制器)
PIC16C555 OTP 8-Bit CMOS Microcontroller(工作電壓2.5~5.5V,驅(qū)動(dòng)/吸收電流高,微控制器)
PIC16C557 OTP 8-Bit CMOS Microcontroller(工作電壓2.5~5.5V,驅(qū)動(dòng)/吸收電流高,微控制器)
PIC16C624 OTP 8-Bit CMOS Microcontroller with EEPROM Data Memory(工作電壓2.5~5.5V,2路比較器,微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16F874-04/L 功能描述:8位微控制器 -MCU 7KB 192 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F874-04/L 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 16F874 PLCC44
PIC16F87404/P 制造商:Microchip Technology Inc 功能描述:MICROCONTROLLER IC
PIC16F874-04/P 功能描述:8位微控制器 -MCU 7KB 192 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F874-04/PQ 功能描述:8位微控制器 -MCU 7KB 192 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT