Z8F16800144ZCOG Zilog, Z8F16800144ZCOG Datasheet - Page 102

KIT DEV FOR Z8F642 MCU 44 PIN

Z8F16800144ZCOG

Manufacturer Part Number
Z8F16800144ZCOG
Description
KIT DEV FOR Z8F642 MCU 44 PIN
Manufacturer
Zilog
Series
Z8 Encore!®r
Type
MCUr
Datasheets

Specifications of Z8F16800144ZCOG

Contents
Hardware, Software and Documentation
For Use With/related Products
Z8F642
For Use With
269-4661 - KIT ACC ETHERNET SMART CABLE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4678
PS025011-1010
Timer Operating Modes
The timers can be configured to operate in the following modes.
ONE-SHOT Mode
In ONE-SHOT mode, the timer counts up to the 16-bit Reload value stored in the Timer
Reload High and Low Byte registers. The Timer counts timer clocks up to the 16-bit
Reload value. On reaching the Reload value, the timer generates an interrupt and the count
value in the Timer High and Low Byte registers is reset to
matically disabled and stops counting.
Also, if the Timer Output alternate function is enabled, the Timer Output pin changes state
for one clock cycle (from Low to High or from High to Low) on timer Reload. If it is
desired to have the Timer Output make a permanent state change on One-Shot timeout.
First set the TPOL bit in the Timer Control 1 register to the start value before beginning
ONE-SHOT mode. Then, after starting the timer, set TPOL to the opposite bit value.
Follow the steps below for configuring a timer for ONE-SHOT mode and initiating the
count:
1. Write to the Timer Control 1 register to:
2. Write to the Timer Control 2 register to choose the timer clock source.
3. Write to the Timer Control 0 register to set the timer interrupt configuration field
4. Write to the Timer High and Low Byte registers to set the starting count value.
5. Write to the Timer Reload High and Low Byte registers to set the Reload value.
6. If required, enable the timer interrupt and set the timer interrupt priority by writing to
7. If using the Timer Output function, configure the associated GPIO port pin for the
8. Write to the Timer Control 1 register to enable the timer and initiate counting.
In ONE-SHOT mode, the timer clock always provides the timer input. The timer period is
given by the following equation:
TICONFIG.
the relevant interrupt registers.
Timer Output alternate function.
ONE-SHOT Mode Time-Out Period (s)
Disable the timer
Configure the timer for ONE-SHOT mode
Set the prescale value
If using the Timer Output alternate function, set the initial output level 
(High or Low)
P R E L I M I N A R Y
=
Reload Value - Start Value xPrescale
---------------------------------------------------------------------------------------------------- -
Timer Clock Frequency (Hz)
Z8 Encore! XP
0001H
Product Specification
. Then, the timer is auto-
®
F1680 Series
Timers
88

Related parts for Z8F16800144ZCOG