Z8FMC04100 ZILOG [Zilog, Inc.], Z8FMC04100 Datasheet - Page 122

no-image

Z8FMC04100

Manufacturer Part Number
Z8FMC04100
Description
Z8 Encore-R Motor Control Flash MCUs
Manufacturer
ZILOG [Zilog, Inc.]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
Z8FMC04100AKEG
Manufacturer:
Zilog
Quantity:
490
Part Number:
Z8FMC04100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
Z8FMC04100AKSG
Manufacturer:
Zilog
Quantity:
245
Part Number:
Z8FMC04100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
Z8FMC04100QKEG
Manufacturer:
Zilog
Quantity:
490
Part Number:
Z8FMC04100QKSG
Manufacturer:
Zilog
Quantity:
979
100
Z8 Encore!
Product Specification
General-Purpose Timer
®
Motor Control Flash MCUs
reaching the reload value, the timer generates an interrupt, the count value in the Timer
High and Low Byte registers is reset to
Capture/Compare Mode.
RESTART mode, except that counting does not start until the first external Timer Input
transition occurs. Every subsequent transition (after the first) of the Timer Input signal
captures the current count value. When the capture event occurs, an interrupt is generated,
the count value in the Timer High and Low Byte registers is reset to
resumes. If no capture event occurs, upon reaching the compare value, the timer generates
an interrupt, the count value in the Timer High and Low Byte registers is reset to
and counting resumes.
The steps for configuring a timer for one of these capture modes and initiating the count
are as follows:
1. Write to the Timer Control registers to:
2. Write to the Timer High and Low Byte registers to set the starting count value (typi-
3. Write to the Timer Reload High and Low Byte registers to set the reload value.
4. If appropriate, enable the timer interrupt and set the timer interrupt priority by writing
5. Configure the associated GPIO port pin for the Timer Input alternate function.
6. Write to the Timer Control 1 Register to enable the timer. In CAPTURE and CAP-
In capture modes, the elapsed time from a timer start to a capture event can be calculated
using the following equation (Start Value is typically = 1):
Capture Elapsed Time (s) =
a. Disable the timer.
b. Configure the timer for the selected capture mode.
c. Set the prescale value.
d. Set the capture edge (rising or falling) for the Timer Input.
e. Configure the timer interrupt to be generated at the input capture event, the reload
cally
to the relevant interrupt registers.
TURE RESTART modes, the timer begins counting. In CAPTURE COMPARE
mode, the timer does not start counting until the first input transition occurs.
event, or both, by setting the
0001h
).
CAPTURE/COMPARE mode is identical to CAPTURE
P R E L I M I N A R Y
(Capture Value – Start Value +1) x Prescale
TICONFIG
System Clock Frequency (Hz)
0001h
, and counting resumes.
field.
0001h
, and counting
PS024604-1005
0001h
,

Related parts for Z8FMC04100