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

X  

ST62T32B 数据表(PDF) 47 Page - STMicroelectronics

部件名 ST62T32B
功能描述  8-BIT OTP/EPROM MCUs WITH A/D CONVERTER, 16-BIT AUTO-RELOAD TIMER, EEPROM, SPI AND UART
PDF  86 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST62T32B 数据表(HTML) 47 Page - STMicroelectronics

Back Button ST62T32B Datasheet HTML 43Page - STMicroelectronics ST62T32B Datasheet HTML 44Page - STMicroelectronics ST62T32B Datasheet HTML 45Page - STMicroelectronics ST62T32B Datasheet HTML 46Page - STMicroelectronics ST62T32B Datasheet HTML 47Page - STMicroelectronics ST62T32B Datasheet HTML 48Page - STMicroelectronics ST62T32B Datasheet HTML 49Page - STMicroelectronics ST62T32B Datasheet HTML 50Page - STMicroelectronics ST62T32B Datasheet HTML 51Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 47 / 86 page
background image
47/86
ST62T32B ST62E32B
4.3.1 CENTRAL COUNTER
The core of the 16 bit Auto-Reload Timer is a 16-
bit synchronous downcounter which accepts the
MCU internal clock through a prescaler with a pro-
grammable ratio (1/1, 1/4, 1/16).
The maximum time for downcounting is therefore
2
16 x Psc x Tclk where Psc is the prescaler ratio,
and Tclk the period of the main oscillator.
This down counter is stopped and its content kept
cleared as long as RUNRES bit is cleared.
4.3.1.1 Reload functions
The 16-bit down counter can be reloaded 3 differ-
ent ways:
At a zero overflow occurrence with the bit RELOAD
cleared: The counter is reloaded to FFFFh.
At a zero overflow occurrence with the bit
RELOAD set: The counter is reloaded with the val-
ue programmed in the RLCP register. For each
overflow, the transition between 0000h and the re-
load value (RLCP or FFFFh) is flagged through the
OVFFLG bit.
At an external event on pin CP1 or CP2 with the bit
RELOAD set: The counter is reloaded with the val-
ue programmed in the RLCP register.
As a consequence, the time between a timer re-
load and a zero overflow occurrence depends on
the value in RLCP when RELOAD bit is set. This
time is equal to (RLCP+1) x Psc x Tclk when
RELOAD bit is set, while it is 2
16 x Psc x Tclk when
RELOAD bit is cleared.
4.3.1.2 Compare functions
The value in the counter CT is continuously com-
pared to 0000h and to the value programmed into
the Compare Register CMP. The comparison
range to 0000h and CMP is defined by using the
MASK register to select which bits are used, there-
fore the comparisons performed are:
– MASK&CT =
? MASK&CMP.
– MASK&CT =
?
0000h.
When
a matched
comparison
to 0000h or
MASK&CMP occurs, the flags ZEROFLG and
COMPFLG are respectively set.
By using MASK values reported in Table 17, the
MASK register works as counter frequency multi-
plier for the compare functions. In that case posi-
tive masked comparison occur with a period of
2
(n+1) x Psc x Tclk where n is the position of the
most significant bit of MASK value.
Table 17. Recommended Mask Values
Note: Writing 0000h in MASK gives a period equal
to two times the prescaled period Psc x Tclk.
Figure 28. Flags Setting in Compare and Reload Functions
Hexadecimal
Binary
MSbit at 1
position,n
FFFFh
7FFFh
3FFFh
1FFFh
0FFFh
...
0007h
0003h
0001h
1111 1111 1111 1111
0111 1111 1111 1111
0011 1111 1111 1111
0001 1111 1111 1111
0000 1111 1111 1111
...
0000 0000 0000 0111
0000 0000 0000 0011
0000 0000 0000 0001
15
14
13
12
11
2
1
0
CMP
Counter
ZEROFLG
0
FFFFh
or
RLCP
Software Reset
Software Reset
Software Reset
OVFFLG
COMPFLG
Value CT
151



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


数据表 下载

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