ST92F150-EMU2 STMicroelectronics, ST92F150-EMU2 Datasheet - Page 169

no-image

ST92F150-EMU2

Manufacturer Part Number
ST92F150-EMU2
Description
BOARD EMULATOR FOR ST9 SERIES
Manufacturer
STMicroelectronics
Series
ST9-EMU2r
Type
Microcontrollerr
Datasheets

Specifications of ST92F150-EMU2

Contents
ST9 Visual Debug IDE, ST9 HDS2V2 Mainboard, Probe, Sockets, Adapters, Power Supply,Cables & Documentation
For Use With/related Products
ST9 MCUs
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
497-3101
EXTENDED FUNCTION TIMER (Cont’d)
16-bit read sequence: (from either the Counter
Register or the Alternate Counter Register).
The user must read the MSB first, then the LSB
value is buffered automatically.
This buffered value remains unchanged until the
16-bit read sequence is completed, even if the
user reads the MSB several times.
After a complete reading sequence, if only the
CLR register or ACLR register are read, they re-
turn the LSB of the count value at the time of the
read.
An overflow occurs when the counter rolls over
from FFFFh to 0000h then:
– The TOF bit of the SR register is set.
– A timer interrupt is generated if:
If one of these conditions is false, the interrupt re-
mains pending to be issued as soon as they are
both true.
At t0
At t0 +Dt
Beginning of the sequence
Sequence completed
– TOIE bit of the CR1 register is set
– EFTIS bit of the CR3 register is set.
Read LSB
Read MSB
instructions
Other
Returns the buffered
LSB value at t0
LSB is buffered
Clearing the overflow interrupt request is done by:
1. Reading the SR register while the TOF bit is
2. An access (read or write) to the CLR register.
Notes: The TOF bit is not cleared by accesses to
ACLR register. This feature allows simultaneous
use of the overflow function and reads of the free
running counter at random times (for example, to
measure elapsed time) without the risk of clearing
the TOF bit erroneously.
The timer is not affected by WAIT mode.
In HALT mode, the counter stops counting until the
mode is exited. Counting then resumes from the
reset count (MCU awakened by a Reset).
10.3.3.2 External Clock
The external clock (where available) is selected if
CC0=1 and CC1=1 in CR2 register.
The status of the EXEDG bit determines the type
of level transition on the external clock pin EXT-
CLK that will trigger the free running counter.
The counter is synchronised with the falling edge
of INTCLK.
At least four falling edges of the INTCLK must oc-
cur between two consecutive active edges of the
external clock; thus the external clock frequency
must be less than a quarter of the INTCLK fre-
quency.
set.
EXTENDED FUNCTION TIMER (EFT)
169/429
9

Related parts for ST92F150-EMU2