參數(shù)資料
型號: PIC12HV615
廠商: Microchip Technology Inc.
英文描述: 8-Pin Flash-Based, 8-Bit CMOS Microcontrollers
中文描述: 8引腳閃存的基礎(chǔ)上,8位CMOS微控制器
文件頁數(shù): 53/168頁
文件大?。?/td> 1347K
代理商: PIC12HV615
2006 Microchip Technology Inc.
Preliminary
DS41302A-page 51
PIC12F609/615/12HV609/615
7.0
TIMER2 MODULE
(PIC12F615/HV615 ONLY)
The Timer2 module is an 8-bit timer with the following
features:
8-bit timer register (TMR2)
8-bit period register (PR2)
Interrupt on TMR2 match with PR2
Software programmable prescaler (1:1, 1:4, 1:16)
Software programmable postscaler (1:1 to 1:16)
See Figure 7-1 for a block diagram of Timer2.
7.1
Timer2 Operation
The clock input to the Timer2 module is the system
instruction clock (F
OSC
/4). The clock is fed into the
Timer2 prescaler, which has prescale options of 1:1,
1:4 or 1:16. The output of the prescaler is then used to
increment the TMR2 register.
The values of TMR2 and PR2 are constantly compared
to determine when they match. TMR2 will increment
from 00h until it matches the value in PR2. When a
match occurs, two things happen:
TMR2 is reset to 00h on the next increment cycle.
The Timer2 postscaler is incremented
The match output of the Timer2/PR2 comparator is
then fed into the Timer2 postscaler. The postscaler has
postscale options of 1:1 to 1:16 inclusive. The output of
the Timer2 postscaler is used to set the TMR2IF
interrupt flag bit in the PIR1 register.
The TMR2 and PR2 registers are both fully readable
and writable. On any Reset, the TMR2 register is set to
00h and the PR2 register is set to FFh.
Timer2 is turned on by setting the TMR2ON bit in the
T2CON register to a ‘
1
’. Timer2 is turned off by clearing
the TMR2ON bit to a ‘
0
’.
The Timer2 prescaler is controlled by the T2CKPS bits
in the T2CON register. The Timer2 postscaler is
controlled by the TOUTPS bits in the T2CON register.
The prescaler and postscaler counters are cleared
when:
A write to TMR2 occurs.
A write to T2CON occurs.
Any device Reset occurs (Power-on Reset, MCLR
Reset, Watchdog Timer Reset, or Brown-out
Reset).
Note:
TMR2 is not cleared when T2CON is
written.
FIGURE 7-1:
TIMER2 BLOCK DIAGRAM
Comparator
TMR2
Output
Sets Flag
bit TMR2IF
TMR2
Reset
Postscaler
1:1 to 1:16
Prescaler
1:1, 1:4, 1:16
PR2
2
F
OSC
/4
EQ
4
TOUTPS<3:0>
T2CKPS<1:0>
相關(guān)PDF資料
PDF描述
PIC16C505-04 14-Pin, 8-Bit CMOS Microcontroller
PIC16C505 14-Pin, 8-Bit CMOS Microcontroller(每個(gè)I/O口有25mA驅(qū)動(dòng)/吸收電流,12個(gè)I/O口,帶WDT的微控制器)
PIC16C54C EPROM/ROM-Based 8-Bit CMOS Microcontroller(18引腳、12個(gè)I/O端口、512位EPROM/ROM的8位CMOS微控制器)
PIC16C54 EPROM/ROM-Based 8-Bit CMOS Microcontroller Series(每個(gè)I/O口有20mA吸收,25mA驅(qū)動(dòng),12個(gè)I/O,2.5V的微控制器)
PIC16CR54B EPROM/ROM-Based 8-Bit CMOS Microcontroller Series(每個(gè)I/O口有20mA吸收,25mA驅(qū)動(dòng),12個(gè)I/O,2.5V的微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12HV615-E/MD 功能描述:8位微控制器 -MCU 2KB Flash 64 RAM 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
PIC12HV615-E/MF 功能描述:8位微控制器 -MCU 1.75KB Flash 64B RAM 6 I/O 8MHz INT OSC 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
PIC12HV615-E/MS 功能描述:8位微控制器 -MCU 2KB Flash 64 RAM 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
PIC12HV615-E/P 功能描述:8位微控制器 -MCU 2KB Flash 64 RAM 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
PIC12HV615-E/SN 功能描述:8位微控制器 -MCU 2KB Flash 64 RAM 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