Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

ST6242 Scheda tecnica(PDF) 40 Page - STMicroelectronics

Il numero della parte ST6242
Spiegazioni elettronici  8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
PDF  68 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST6242 Scheda tecnica(HTML) 40 Page - STMicroelectronics

Back Button ST6242 Datasheet HTML 36Page - STMicroelectronics ST6242 Datasheet HTML 37Page - STMicroelectronics ST6242 Datasheet HTML 38Page - STMicroelectronics ST6242 Datasheet HTML 39Page - STMicroelectronics ST6242 Datasheet HTML 40Page - STMicroelectronics ST6242 Datasheet HTML 41Page - STMicroelectronics ST6242 Datasheet HTML 42Page - STMicroelectronics ST6242 Datasheet HTML 43Page - STMicroelectronics ST6242 Datasheet HTML 44Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 68 page
background image
40/68
ST62T42B/E42B
TIMER 1& 2 (Cont’d)
5.1.1 TIMER 1 & 2 Operating Mode
The Timer prescaler is clocked by the prescaler
clock input (fINT ÷ 12).
The user can select for each TIMER the desired
prescaler division ratio through the PS2, PS1, PS0
bits. When the TCR count reaches 0, it sets the
TMZ bit in the TSCR. The TMZ bit can be tested
under program control to perform a timer function
whenever it goes high.
5.1.2 Timer Interrupt
When one of the counter registers decrements to
zero with the associated ETI (Enable Timer Inter-
rupt) bit set to one, an interrupt request is generat-
ed as described in Interrupt Chapter. When the
counter decrements to zero, the associated TMZ
bit in the TSCR register is set to one.
5.1.3 Application Notes
TMZ is set when the counter reaches zero; howev-
er, it may also be set by writing 00h in the TCR
register or by setting bit 7 of the TSCR register.
The TMZ bit must be cleared by user software
when servicing the timer interrupt to avoid unde-
sired interrupts when leaving the interrupt service
routine. After reset, the 8-bit counter register is
loaded with 0FFh, while the 7-bit prescaler is load-
ed with 07Fh, and the TSCR register is cleared.
This means that the Timer is stopped (PSI=“0”)
and the timer interrupt is disabled.
A write to the TCR register will predominate over
the 8-bit counter decrement to 00h function, i.e. if a
write and a TCR register decrement to 00h occur
simultaneously, the write will take precedence,
and the TMZ bit is not set until the 8-bit counter
reaches 00h again. The values of the TCR and the
PSC registers can be read accurately at any time.
40



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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