Z8F160x Zilog, Z8F160x Datasheet - Page 76

no-image

Z8F160x

Manufacturer Part Number
Z8F160x
Description
Z8 Encore / Microcontrollers with Flash Memory and 10 Bit A/D Converter
Manufacturer
Zilog
Datasheet
Operation
PS017610-0404
System
Control
Clock
Timer
Block
Input
Data
Bus
Timer Operating Modes
Figure 66. Timer Block Diagram
The timers are 16-bit up-counters. Minimum time-out delay is set by loading the value
0001H
to 1. Maximum time-out delay is set by loading the value
High and Low Byte registers and setting the prescale value to 128. If the Timer reaches
FFFFH
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 input is the system clock. Upon reaching
the Reload value, the timer generates an interrupt and the count value in the Timer High
and Low Byte registers is reset to
stops counting.
Also, if the Timer Output alternate function is enabled, the Timer Output pin changes state
for one system clock cycle (from Low to High or from High to Low) upon timer Reload. If
it is desired to have the Timer Output make a permanent state change upon One-Shot time-
Capture
Input
Input
Gate
, the timer rolls over to
into the Timer Reload High and Low Byte registers and setting the prescale value
PWM / Compare
Reload Register
16-Bit Counter
with Prescaler
Control
16-Bit
16-Bit
Timer
0000H
0001H
Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
and continues counting.
. Then, the timer is automatically disabled and
Timer Block
Timer Output
0000H
Interrupt,
Control
PWM,
and
into the Timer Reload
Z8 Encore!
Interrupt
Output
Timer
Timer
Timers
®
58

Related parts for Z8F160x