Z8FMC160100KITG Zilog, Z8FMC160100KITG Datasheet - Page 111

KIT DEV FOR Z8 ENCORE Z8FMC16100

Z8FMC160100KITG

Manufacturer Part Number
Z8FMC160100KITG
Description
KIT DEV FOR Z8 ENCORE Z8FMC16100
Manufacturer
Zilog
Series
Z8 Encore! MC™r

Specifications of Z8FMC160100KITG

Main Purpose
Power Management, Motor Control
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
Z8FMC16100
Primary Attributes
3-Ph DC Motors
Secondary Attributes
Graphical User Interface
For Use With
269-4664 - KIT ACC OPTO-ISO USB SMART CABLE269-4661 - KIT ACC ETHERNET SMART CABLE269-4539 - KIT ACCESSORY USB SMART CABLE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4660
PS024613-0910
Follow the steps below to configure a timer for COMPARE mode and initiate the count:
1. Write to the Timer Control registers to:
2. Write to the Timer High and Low Byte registers to set the starting count value.
3. Write to the Timer Reload High and Low Byte registers to set the Compare value.
4. If appropriate, enable the timer interrupt and set the timer interrupt priority by writing
5. If using the Timer Output function, configure the associated GPIO port pin for the
6. Write to the Timer Control 1 register to enable the timer and initiate counting.
The compare time is calculated by the following equation (Start Value = 1):
GATED Mode
In GATED mode, the timer counts only when the Timer Input signal is in its active state,
as determined by the
signal is active, counting begins. A timer interrupt is generated when the Timer Input
signal transits from active to inactive state, a timer reload occurs, or both, depending on
TICONFIG[1:0]
interrupt, read the associated GPIO input value and compare it to the value stored in the
TPOL
The timer counts up to the 16-bit reload value stored in the Timer Reload High and Low
Byte registers. On reaching the reload value, the timer generates an interrupt, the count
value in the Timer High and Low Byte registers is reset to
as long as the Timer Input signal is active. Also, if the Timer Output alternate function is
enabled, the Timer Output pin changes state (from Low to High or from High to Low) at
timer reload.
Compare Mode Time (s)
(a) Disable the timer.
(b) Configure the timer for COMPARE mode.
(c) Set the prescale value.
(d) Set the initial logic level (High or Low) for the Timer Output alternate function, if
to the relevant interrupt registers.
Timer Output alternate function.
bit.
appropriate.
. To determine if a Timer Input signal deassertion generated the
TPOL
=
bit in the Timer Control 1 register. When the Timer Input
(Compare Value – Start Value +1) x
System Clock Frequency (Hz)
Prescale
Z8FMC16100 Series Flash MCU
0001h
Product Specification
, and counting continues
Timer Operating Modes
99

Related parts for Z8FMC160100KITG