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

X  

ST62T52B 数据表(PDF) 36 Page - STMicroelectronics

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

ST62T52B 数据表(HTML) 36 Page - STMicroelectronics

Back Button ST62T52B Datasheet HTML 32Page - STMicroelectronics ST62T52B Datasheet HTML 33Page - STMicroelectronics ST62T52B Datasheet HTML 34Page - STMicroelectronics ST62T52B Datasheet HTML 35Page - STMicroelectronics ST62T52B Datasheet HTML 36Page - STMicroelectronics ST62T52B Datasheet HTML 37Page - STMicroelectronics ST62T52B Datasheet HTML 38Page - STMicroelectronics ST62T52B Datasheet HTML 39Page - STMicroelectronics ST62T52B Datasheet HTML 40Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 68 page
background image
36/68
ST62T52B ST62T62B/E62B
4.2 TIMER
The MCU features an on-chip Timer peripheral,
consisting of an 8-bit counter with a 7-bit program-
mable prescaler, giving a maximum count of 215.
Figure 21. shows the Timer Block Diagram. The
content of the 8-bit counter can be read/written in
the Timer/Counter register, TCR, which can be
addressed in Data space as a RAM location at ad-
dress 0D3h. The state of the 7-bit prescaler can
be read in the PSC register at address 0D2h. The
control logic device is managed in the TSCR reg-
ister as described in the following paragraphs.
The 8-bit counter is decrement by the output (ris-
ing edge) coming from the 7-bit prescaler and can
be loaded and read under program control. When
it decrements to zero then the TMZ (Timer Ze-
ro)bit in the TSCR is set. If the ETI (Enable Timer
Interrupt) bit in the TSCR is also set, an interrupt
request is generated. The Timer interrupt can be
used to exit the MCU from WAIT mode.
The prescaler input is the internal frequency (fINT)
divided by 12. The prescaler decrements on the
rising edge. Depending on the division factor pro-
grammed by PS2, PS1 and PS0 bits in the TSCR
(see Table 13.), the clock input of the timer/coun-
ter register is multiplexed to different sources. For
division factor 1, the clock input of the prescaler is
also that of timer/counter; for factor 2, bit 0 of the
prescaler register is connected to the clock input
of TCR. This bit changes its state at half the fre-
quency of the prescaler input clock. For factor 4,
bit 1 of the PSC is connected to the clock input of
TCR, and so forth. The prescaler initialize bit, PSI,
in the TSCR register must be set to allow the pres-
caler (and hence the counter) to start. If it is
cleared, all the prescaler bits are set and the coun-
ter is inhibited from counting. The prescaler can
be loaded with any value between 0 and 7Fh, if bit
PSI is set. The prescaler tap is selected by means
of the PS2/PS1/PS0 bits in the control register.
Figure 22. illustrates the Timer’s working principle.
Figure 21. Timer Block Diagram
STATUS/CONTROL
8
TMZ ETI
D5
D4
PSI PS2 PS1 PS0
REGISTER
8-BIT
1 OF 7
SELECT
INTERRUPT
LINE
/
3
5
6
4
3
2
1
0
PSC
VR02070A
f
INT
b7
b6
b5
b4
b3
b2 b1
b0
8
8
.
12
DATA BUS
.
36



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


数据表 下载

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