Z8F16800144ZCOG Zilog, Z8F16800144ZCOG Datasheet - Page 106

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
Caution:
4. Write to the Timer High and Low Byte registers to set the starting count value. This
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. Configure the associated GPIO port pin for the Timer Input alternate function.
8. When using the Timer Output function, configure the associated GPIO port pin for the
9. Write to the Timer Control 1 register to enable the timer.
In COUNTER mode, the number of Timer Input transitions since the timer start is given
by the following equation:
COMPARATOR COUNTER Mode
In COMPARATOR COUNTER mode, the timer counts output transitions from an analog
comparator output. Timer 0 takes its input from the output of Comparator 0. Timer 1 takes
its input from the output of Comparator 1. The TPOL bit in the Timer Control 1 register
selects whether the count occurs on the rising edge or the falling edge of the comparator
output signal. In COMPARATOR COUNTER mode, the prescaler is disabled.
On reaching the Reload value stored in the Timer Reload High and Low Byte registers, the
timer generates an interrupt, the count value in the Timer High and Low Byte registers is
reset to
enabled, the Timer Output pin changes state (from Low to High or High to Low) 
at timer Reload.
Follow the steps below for configuring a timer for COMPARATOR COUNTER mode and
initiating the count:
1. Write to the Timer Control 1 register to:
The frequency of the comparator output signal must not exceed one-fourth the timer
clock frequency.
only affects the first pass in COUNTER mode. After the first timer Reload in
COUNTER mode, counting always begins at the reset value of 0001H. Generally, in
COUNTER mode the Timer High and Low Byte registers must be written with the
value 0001H.
the relevant interrupt registers.
Timer Output alternate function.
COUNTER Mode Timer Input Transitions
0001H
Disable the timer.
Configure the timer for COMPARATOR COUNTER mode.
Select either the rising edge or falling edge of the comparator output signal for the
count. This also sets the initial logic level (High or Low) for the Timer Output
alternate function. The Timer Output function does not have to be enabled.
and counting resumes. Also, if the Timer Output alternate function is
P R E L I M I N A R Y
=
Current Count Value - Start Value
Z8 Encore! XP
Product Specification
®
F1680 Series
Timers
92

Related parts for Z8F16800144ZCOG