z8f0822 ZiLOG Semiconductor, z8f0822 Datasheet - Page 83

no-image

z8f0822

Manufacturer Part Number
z8f0822
Description
High Performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8f0822PJ020SG
Manufacturer:
Zilog
Quantity:
45
Part Number:
z8f0822SJ020SG
Manufacturer:
Zilog
Quantity:
567
PS022517-0508
System
Control
Clock
Timer
Block
Data
Input
Bus
Timer Operating Modes
The timers are 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. 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
counting.
state for one system clock cycle (from Low to High or vice-versa) on timer Reload.
If it is required for the Timer Output to make a permanent state change on One-Shot
time-out, first set the TPOL bit in the Timer Control 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 Register to:
Also, if the Timer Output alternate function is enabled, the Timer Output pin changes
Capture
Input
Input
Gate
Disable the timer
Configure the timer for ONE-SHOT mode
PWM / Compare
Reload Register
16-Bit Counter
with Prescaler
Control
16-Bit
16-Bit
Timer
Figure 10. Timer Block Diagram
0001H
. Then, the timer is automatically disabled and stops
Z8 Encore! XP
Timer Block
Timer Output
Interrupt,
Control
PWM,
and
Product Specification
®
F0822 Series
Interrupt
Output
Timer
Timer
Timers
70

Related parts for z8f0822