数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST52T301 数据表(PDF) 30 Page - STMicroelectronics

部件名 ST52T301
功能描述  8-Bit OTP/EPROM DuaLogic] MCUs WITH ADC, UART, TIMER, TRIAC & PWM DRIVER
PDF  100 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST52T301 数据表(HTML) 30 Page - STMicroelectronics

Back Button ST52T301 Datasheet HTML 26Page - STMicroelectronics ST52T301 Datasheet HTML 27Page - STMicroelectronics ST52T301 Datasheet HTML 28Page - STMicroelectronics ST52T301 Datasheet HTML 29Page - STMicroelectronics ST52T301 Datasheet HTML 30Page - STMicroelectronics ST52T301 Datasheet HTML 31Page - STMicroelectronics ST52T301 Datasheet HTML 32Page - STMicroelectronics ST52T301 Datasheet HTML 33Page - STMicroelectronics ST52T301 Datasheet HTML 34Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 100 page
background image
7. TIMER
ST52x301 offers one on-chip Timer peripheral.
TheTimer consists of an 8-bit counter with a 16-bit
programmable prescaler, thus giving a maximum
count o f 224, and control logic that allows
configuring the functionment and the type of
peripheral outputs. Figure 7.2 shows the Timer
block diagram and Figure 7.3 shows the internal
structure of the Timer.
The content of the 8-bit counter can be read/written
and is incremented on the Rising Edge of the 16-bit
prescaler output (PRESCOUT). Moreover, it can be
read under program control at any instant of the
counting phase and loaded in a location of the
Register File. The prescaler can be given any value
between 0 and FFFFh setting the 4-th (TMLSB)
and 5-th (TMMSB) locations of the Configuration
Registers Bench.
7.1 Timer Functionment
The Timer requires three signals: TMRCLK, TRST
and TSTART (see Figure 7.3). Each of them can be
generated internally or externally, this possibility is
programmable by the user.
TMRCLK increments the counted value of the
Presc ale r. It can b e, by se tting C KSL of
REG_CONF6 register, the internal clock signal
(CLKM) or the signal provided on the pin TCLK.
TRST resets to zero the content of the 8 bit counter.
It is generated by the TRES or RESET external
signals or it is forced by TMRSTbit of REG_CONF6
register.
TSTART starts/stops the Prescaler counting.It can
be given on the pin TCTRL or it is forced by TMST
bit of REG_CONF6 register.
The TSTART signal allows to work in two different
modes:
LEVEL (Time Counter): If the TSTART signal is
high the Timer starts the count. When the TSTART
is low the count is stopped and the current value is
stored in the TMR_OUT register of the Input
register Bench, then it can be transferred to the j-th
location of the Registers File by using the
instruction:
LDRI reg-j 4
EDGE(Period Counter): After the reset, when the
first edge of the TSTART signal appears, the Timer
starts the count, at the next TSTART the Timer is
stopped. In this way it is possible to measure the
period of an external signal.
The functionment modality is set by the TMEL
configuration bit of REG_CONF6 register.
The starting value of the Counter can be either a
value contained in the Register File or directly a
Fuzzy Output. If INPSL (REG_CONF7(3)) is set to
”1” then the value comes from one of the locations
of the Register File (LDRP 0, reg-i); on the
contrary it is generated by the Fuzzy Core. The
choice between the two possible fuzzy outputs is
set by the FZSL configuration bit of REG_CONF6
register
FZSL=0/1 means the starting value is the loaded
from the FUZZY_OUT_0/1.
Level
Edge
start
stop
start
start
stop
start
00
0
3
3
3
2
1
Reset
Clock
Counted
Value
Figure 7.1. Timer Functionalities
30/99
ST52T301/E301



Html Pages

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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com