st72324bk STMicroelectronics, st72324bk Datasheet - Page 72

no-image

st72324bk

Manufacturer Part Number
st72324bk
Description
3 V/5 V Range 8-bit Mcu With 4/8 Kbyte Rom, 10-bit Adc, Four Timers And Spi
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st72324bk6
Manufacturer:
ST
0
Part Number:
st72324bk6/MFNTR
Manufacturer:
ST
0
Part Number:
st72324bk6TA
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
st72324bk6TA
Manufacturer:
ST
0
On-chip peripherals
Note:
72/167
1
2
3
4
5
6
After reading the ICiHR register, transfer of input capture data is inhibited and ICFi will never
be set until the ICiLR register is also read.
The ICiR register contains the free running counter value which corresponds to the most
recent input capture.
The 2 input capture functions can be used together even if the timer also uses the 2 output
compare functions.
In One pulse Mode and PWM mode only Input Capture 2 can be used.
The alternate inputs (ICAP1 & ICAP2) are always directly connected to the timer. So any
transitions on these pins activates the input capture function.
Moreover if one of the ICAPi pins is configured as an input and the second one as an output,
an interrupt can be generated if the user toggles the output pin and if the ICIE bit is set.
This can be avoided if the input capture function i is disabled by reading the ICiHR (see note
1).
The TOF bit can be used with interrupt generation in order to measure events that go
beyond the timer range (FFFFh).
Figure 35. Input capture block diagram
Figure 36. Input capture timing diagram
1. The rising edge is the active edge.
Counter register
ICAP1
ICAP2
pin
pin
ICAPi register
Timer clock
ICAPi flag
ICAPi pin
16-bit
IC2R Register
16-bit
Edge detect
circuit2
FF01
free running
counter
Edge detect
IC1R Register
circuit1
FF02
ICF1
ICIE
FF03
ICF2
(Control Register 1) CR1
(Control Register 2) CR2
CC1
ST72323 ST72323L
(Status Register) SR
CC0
FF03
0
IEDG2
IEDG1
0
0

Related parts for st72324bk