Z8F16800144ZCOG Zilog, Z8F16800144ZCOG Datasheet - Page 112

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
If no Capture event occurs, the timer counts up to the 16-bit Compare value stored in the
Timer Reload High and Low Byte registers. On reaching the Reload value, the timer gen-
erates an interrupt, the count value in the Timer High and Low Byte registers is reset to
0001H
indicate the timer interrupt is not due to an input capture event.
Follow the steps below for configuring a timer for CAPTURE RESTART 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. Clear the Timer PWM High and Low Byte registers to
7. If required, enable the timer interrupt and set the timer interrupt priority by writing to
8. Configure the associated GPIO port pin for the Timer Input alternate function.
9. Write to the Timer Control 1 register to enable the timer and initiate counting.
In CAPTURE mode, the elapsed time from Timer start to Capture event can be calculated
using the following equation:
TICONFIG.
(typically
software to determine if interrupts are generated by either a Capture Event or a
Reload. If the PWM High and Low Byte registers still contain
interrupt, then the interrupt is generated by a Reload.
the relevant interrupt registers. By default, the timer interrupt will be generated for
both input capture and reload events. If required, configure the timer interrupt to be
generated only at the Input Capture event or the reload event by setting TICONFIG
field of the Timer Control 0 register.
Capture Elapsed Time (s)
and counting resumes. The INPCAP bit in Timer Control 0 register is cleared to
Disable the timer.
Configure the timer for CAPTURE RESTART mode. Setting the mode also
involves writing to TMODE[3] bit in TxCTL0 register.
Set the prescale value.
Set the Capture edge (rising or falling) for the Timer Input.
0001H
).
P R E L I M I N A R Y
=
-----------------------------------------------------------------------------------------------------------
Capture Value - Start Value
Timer Clock Frequency (Hz)
Z8 Encore! XP
0000H
Prescale
Product Specification
. This allows user
0000H
®
after the
F1680 Series
Timers
98

Related parts for Z8F16800144ZCOG