參數(shù)資料
型號(hào): ST63E69D1
廠商: 意法半導(dǎo)體
英文描述: 8-BIT HCMOS MCU FOR DIGITAL CONTROLLED MULTI FREQUENCYMONITOR
中文描述: 8位HCMOS單片機(jī)的數(shù)控多FREQUENCYMONITOR
文件頁(yè)數(shù): 31/71頁(yè)
文件大小: 584K
代理商: ST63E69D1
TIMERS
(Continued)
Timer OperatingModes
As on ST6369 devices the external TIMER pin is
not available the only allowed operating mode is
the outputmode thathave tobe selectedbysetting
to 1 bit 4 and by clearing to 0 bit 5 in the TSCR1
register. This procedure will enable both Timer 1
and Timer2.
OutputMode(TSCR1 D4 = 1, TSCR1 D5= 0).
On
this mode the timer prescaler is clocked by the
prescaler clock input (OSC/12). The user can se-
lect thedesired prescaler divisionratio throughthe
PS2/PS1/PS0bits. When TCR count reaches 0, it
sets the TMZbit in the TSCR.
The TMZ bit can be tested under program control
to perform timer functions whenever it goes high.
Bit D4and D5on TSCR2 (Timer 2)registerare not
implemented.
Timer Interrupt
When thecounter register decrementsto zero and
the softwarecontrolledETI (enable timer interrupt)
bit is set to one then an interrupt request associ-
ated tointerrupt vector#3(for Timer1)andtointer-
rupt vector#1 (for Timer2) isgenerated. When the
counter decrementsto zero also the TMZbit in the
TSCR register is set to one.
Notes :
TMZ is set when the counter reaches 00H ; how-
ever, it may be set bywriting 00Hin the TCR regis-
ter or setting the bit 7 of the TSCR register. TMZ
bit must be cleared by user software when servic-
ing thetimer interrupt to avoid undesired interrupts
when leavingthe interrupt serviceroutine.After re-
set, the 8-bit counter register is loaded to FFH
while the 7-bitprescaleris loadedto 7FH,and the
TSCR register is cleared which meansthattimer is
stopped (PSI=0)and timer interruptdisabled.
A write to the TCR register will predominate over
the 8-bit counter decrement to 00H function, i.e. if
a writeand aTCRregisterdecrementto 00Hoccur
simultaneously,thewritewill takeprecedence,and
the TMZ bitis notsetuntilthe 8-bitcounterreaches
00H again. The values of the TCR and the PSC
registers can be readaccuratelyat any time.
Figure31. Timer Working Principle
ST6369
27/67
相關(guān)PDF資料
PDF描述
ST700C12L0 PHASE CONTROL THYRISTORS Hockey Puk Version
ST700C12L0L PHASE CONTROL THYRISTORS Hockey Puk Version
ST700C12L1 PHASE CONTROL THYRISTORS Hockey Puk Version
ST700C PHASE CONTROL THYRISTORS Hockey Puk Version
ST700C12L2L PHASE CONTROL THYRISTORS Hockey Puk Version
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST63E73J5D1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT ROM/OTP/EPROM MCUs FOR DIGITALLY CONTROLLED MULTISYNC/MULTISTANDARD MONITORS
ST63E85D1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MCUs WITH ON-SCREEN-DISPLAY FOR TV TUNING
ST63E85D1/XX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST63E87D1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MCUs WITH ON-SCREEN-DISPLAY FOR TV TUNING
ST63E87D1/XX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller