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

X  

ST63142 数据表(PDF) 31 Page - STMicroelectronics

部件名 ST63142
功能描述  8-BIT HCMOS MCUs FOR TV FREQUENCY & VOLTAGE SYNTHESIS WITH OSD
PDF  86 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST63142 数据表(HTML) 31 Page - STMicroelectronics

Back Button ST63142 Datasheet HTML 27Page - STMicroelectronics ST63142 Datasheet HTML 28Page - STMicroelectronics ST63142 Datasheet HTML 29Page - STMicroelectronics ST63142 Datasheet HTML 30Page - STMicroelectronics ST63142 Datasheet HTML 31Page - STMicroelectronics ST63142 Datasheet HTML 32Page - STMicroelectronics ST63142 Datasheet HTML 33Page - STMicroelectronics ST63142 Datasheet HTML 34Page - STMicroelectronics ST63142 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 86 page
background image
The ST631xx devices offer two on-chip Timer pe-
ripherals consisting of an 8-bit counter with a 7-bit
programmable prescaler, thus giving a maximum
count of 2
15, and a control logic that allows config-
uring the peripheral operating mode. Figure 30
shows the timer block diagram. The content of the
8-bit
counters
can
be
read/written
in
the
Timer/Counter registers TCR that can be ad-
dressed in the data space as RAM location at ad-
dresses D3h (Timer 1) and DBh (Timer 2). The
state of the 7-bit prescaler can be read in the PSC
register at addresses D2h (Timer 1) and DAh
(Timer 2). The control logic is managed by TSCR
registers at D4h (Timer 1) and DCh (Timer 2) ad-
dresses as described in the following paragraphs.
The following description applies to both Timer 1
and Timer 2. The 8-bit counter is decrement by the
output (rising edge) coming from the 7-bit pres-
caler and can be loaded and read under program
control. When it decrements to zero then the TMZ
(timer zero) bit in the TSCR is set to one. If the ETI
(enable timer interrupt) bit in the TSCR is also set
to one an interrupt request, associated to interrupt
vector #3 (for Timer 1) and #1 for Timer 2, is gener-
ated. The interrupt of the timer can be used to exit
the MCU from the WAIT mode.
Figure 28. Timer Peripheral Block Diagram
TIMERS
The prescaler decrements on rising edge. The
prescaler input is the oscillator frequency divided
by 12 or an external clock at TIMER pin (this is not
available in ST631xx).
Depending on the division factor programmed by
PS2/PS1/PS0 (see table 9) bits in the TSCR, the
clock input of the timer/counter register is multi-
plexed to different sources.
On division factor 1, the clock input of the prescaler is
also that of timer/counter; on factor 2, bit 0 of prescaler
register is connectedto the clock input of TCR.
This bit changes its state with the half frequency of
prescaler clock input. On factor 4, bit 1 of PSC is
connected to clock input of TCR, and so on. On di-
vision factor 128, the MSB bit 6 of PSC is con-
nected to clock input of TCR. The prescaler
initialize bit (PSI) in the TSCR register must be set
to one to allow the prescaler (and hence the
counter) to start. If it is cleared to zero then all of
the prescaler bits are set to one and the counter is
inhibited from counting.
The prescaler can be given any value between 0
and 7Fh by writing to the related register address,
if bit PSI in the TSCR register is set to one. The tap
of
the
prescaler
is
selected
using
the
PS2/PS1/PS0 bits in the control register. Figure 33
shows the timer working principle.
®
ST63140,142,126,156
27/82



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