參數(shù)資料
型號: HCS120
廠商: Microchip Technology Inc.
英文描述: Bi-directional Authenticator(雙向文電鑒別碼)
中文描述: 雙向認證者(雙向文電鑒別碼)
文件頁數(shù): 52/170頁
文件大?。?/td> 4191K
代理商: HCS120
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>
相關PDF資料
PDF描述
HCS405 Code Hopping Encoder(KeeLoq 碼編碼器)
HCS109HMSR Connector Dust Cap; For Use With:RJ45 Field Bus Hexagonal Jam Nut Receptacles, RJF71B; Accessory Type:RJ Field Bus; Approval Categories:UL94V-0 Flammability rated; Body Material:Metallic Housing; Color:Black; Series:RJ Field Bus
HCS109DMSR Radiation Hardened Dual JK Flip Flop
HCS109KMSR Radiation Hardened Dual JK Flip Flop
HCS109MS Radiation Hardened Dual JK Flip Flop(抗輻射雙J-K觸發(fā)器)
相關代理商/技術參數(shù)
參數(shù)描述
HCS1201AX 制造商:JLWORLD 制造商全稱:JLWORLD 功能描述:Electro-Magnetic Sound Generators
HCS1203AX 制造商:JLWORLD 制造商全稱:JLWORLD 功能描述:Electro-Magnetic Sound Generators
HCS1206AX 制造商:JLWORLD 制造商全稱:JLWORLD 功能描述:Electro-Magnetic Sound Generators
HCS1212AX 制造商:JLWORLD 制造商全稱:JLWORLD 功能描述:Electro-Magnetic Sound Generators
HCS125 制造商:INTERSIL 制造商全稱:Intersil Corporation 功能描述:Radiation Hardened Quad Buffer, Three-State