參數資料
型號: PIC876
廠商: Microchip Technology Inc.
英文描述: 28/40-pin 8-Bit CMOS FLASH Microcontrollers
中文描述: 28/40-pin 8位CMOS閃存微控制器
文件頁數: 55/200頁
文件大?。?/td> 3544K
代理商: PIC876
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁當前第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁
1999 Microchip Technology Inc.
DS30292B-page 55
PIC16F87X
7.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
the PWM mode of the CCP module(s). The TMR2 reg-
ister 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>).
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 ini-
tialized 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 7-1 shows the Timer2 control register.
Additional information on timer modules is available in
the PICmicro Mid-Range MCU Family Reference
Manual (DS33023).
by
control
bits
7.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 (POR, MCLR reset, WDT reset
or BOR)
TMR2 is not cleared when T2CON is written.
7.2
Output of TMR2
The output of TMR2 (before the postscaler) is fed to the
SSPort module, which optionally uses it to generate
shift clock.
FIGURE 7-1:
TIMER2 BLOCK DIAGRAM
REGISTER 7-1:
T2CON: TIMER2 CONTROL REGISTER (ADDRESS 12h)
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.
T2OUTPS3:
T2OUTPS0
T2CKPS1:
T2CKPS0
U-0
R/W-0
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0
R/W-0
R/W-0
R/W-0
R/W-0
TMR2ON
R/W-0
T2CKPS1 T2CKPS0
R/W-0
R
W = Writable bit
U
= Unimplemented bit,
read as ‘0’
- n = Value at POR reset
= Readable bit
bit7
bit0
bit 7:
Unimplemented:
Read as '0'
bit 6-3:
TOUTPS3:TOUTPS0
: Timer2 Output Postscale Select bits
0000
= 1:1 Postscale
0001
= 1:2 Postscale
0010
= 1:3 Postscale
1111
= 1:16 Postscale
bit 2:
TMR2ON
: Timer2 On bit
1
= Timer2 is on
0
= Timer2 is off
bit 1-0:
T2CKPS1:T2CKPS0
: Timer2 Clock Prescale Select bits
00
= Prescaler is 1
01
= Prescaler is 4
1x
= Prescaler is 16
相關PDF資料
PDF描述
PIP201-12M-3 DC-to-DC converter powertrain
PIP3102-R LOGIC LEVEL TOPFET
PIP3203-A TOPFET high side switch
PIP3206-R TOPFET high side switch SMD version
PIP8.4 7,500 & 15,000 Watt TVS Module
相關代理商/技術參數
參數描述
PIC9310 制造商:PICSEMI 制造商全稱:PICSEMI 功能描述:Async Boost with 600KHz switching
PICADILLO-35T 功能描述:Resistive Graphic LCD Display Module Transmissive Red, Green, Blue (RGB) TFT - Color I2C, SPI 3.5" (88.90mm) 320 x 480 制造商:4d systems pty ltd 系列:- 零件狀態(tài):有效 顯示類型:TFT - 彩色 顯示模式:可傳導的 觸摸屏:電阻 屏幕對角線尺寸:3.5"(88.90mm) 可視范圍:73.40mm 寬 x 49.00mm 高 背光:LED - 白 點像素:320 x 480 接口:I2C,SPI 圖形顏色:紅,綠,藍(RGB) 背景顏色:- 點尺寸:- 點間距:0.15mm 寬 x 0.15mm 高 標準包裝:1
PICADLL 制造商:CALIBRE UK 功能描述:DEVELOPMENT DLLS I2C ADAPTER
PICAMBOX 制造商:Nwazet 功能描述:PI CAMERA BOX
PICAMBOXBUNDLE 制造商:Nwazet 功能描述:PI CAMERA BOX BUNDLE WITH FISHEYE LENS