English
Language : 

CD00001237 Datasheet, PDF (47/105 Pages) STMicroelectronics – 8-bit MCUs with A/D converter
ST6215C ST6225C
9.2 8-BIT TIMER
9.2.1 Introduction
The 8-Bit Timer on-chip peripheral is a free run-
ning downcounter based on an 8-bit downcounter
with a 7-bit programmable prescaler, giving a max-
imum count of 215. The peripheral may be config-
ured in three different operating modes.
Figure 27. Timer Block Diagram
9.2.2 Main Features
■ Time-out downcounting mode with up to 15-bit
accuracy
■ External counter clock source (valid also in
STOP mode)
■ Interrupt capability on counter underflow
■ Output signal generation
■ External pulse length measurement
■ Event counter
The timer can be used in WAIT and STOP modes
to wake up the MCU.
fINT/12
TIMER
PIN
7
8-BIT DOWN COUNTER
0
TCR
TCR7 TCR6 TCR5 TCR4 TCR3 TCR2 TCR1 TCR0
REGISTER
fCOUNTER
fEXT
LATCH
7
0
TMZ
ETI TOUT DOUT PSI
PS2
PS1
PS0
TSCR
REGISTER
INTERRUPT
fPRESCALER
7
PSCR REGISTER
0
PSCR7 PSCR6 PSCR5 PSCR4 PSCR3 PSCR2 PSCR1 PSCR0
/1
/128 /64 /32 /16 /8
/4
/2
PROGRAMMABLE PRESCALER
47/105
1