ST6225C STMicroelectronics, ST6225C Datasheet - Page 49

no-image

ST6225C

Manufacturer Part Number
ST6225C
Description
8 Bit ST6 Microcontroller with 16x8-bitADC 1x8-bit TIMER
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST6225C

Clock Sources
crystal/ceramic resonator or RC network, external clock, backup oscillator (LFAO)
2 Power Saving Modes
Wait and Stop

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST6225CB6/HIU
Manufacturer:
ST
0
Part Number:
ST6225CM1/MOP/TR
Manufacturer:
ST
0
Part Number:
ST6225CM6
Manufacturer:
ST
0
Part Number:
ST6225CM6/H1M
Manufacturer:
ST
0
Part Number:
ST6225CM6/HIL/F
Manufacturer:
ST
0
8-BIT TIMER (Cont’d)
9.2.4 Functional Description
There are three operating modes, which are se-
lected by the TOUT and DOUT bits (see TSCR
register). These three modes correspond to the
two clocks which can be connected to the 7-bit
prescaler (f
the output mode.
The settings for the different operating modes are
summarized
Table 12. Timer Operating Modes
9.2.4.1 Gated Mode
(TOUT = “0”, DOUT = “1”)
In this mode, the prescaler is decremented by the
Timer clock input, but only when the signal on the
TIMER pin is held high (f
pin). See
This mode is selected by clearing the TOUT bit in
the TSCR register (i.e. as input) and setting the
DOUT bit.
Note: In this mode, if the TIMER pin is multi-
plexed, the corresponding port control bits have to
be set in input with pull-up configuration through
TOUT DOUT
0
0
1
1
0
1
0
1
Figure 28
INT
Table
Event Counter
Gated input
÷ 12 or TIMER pin signal), and to
Function
Output “0”
Output “1”
(output)
(output)
Timer
(input)
(input)
12.
and
Figure
INT
/12 gated by TIMER
External counter clock
External Pulse length
29.
measurement
Output signal
Application
generation
source
the DDR, OR and DR registers. For more details,
please refer to the I/O Ports section.
Figure 28. f
Figure 29. Gated Mode Operation
COUNTER VALUE
TIMER CLOCK
xx2
xx1
TIMER PIN
TIMER
1
VALUE 1
TIMER
f
INT
f
EXT
/12
Clock in Gated Mode
PULSE LENGTH
ST6215C ST6225C
f
PRESCALER
VALUE 2
49/105
1

Related parts for ST6225C