Z8F160x Zilog, Z8F160x Datasheet - Page 77
![no-image](/images/manufacturer_photos/0/7/729/zilog_sml.jpg)
Z8F160x
Manufacturer Part Number
Z8F160x
Description
Z8 Encore / Microcontrollers with Flash Memory and 10 Bit A/D Converter
Manufacturer
Zilog
Datasheet
1.Z8F160X.pdf
(246 pages)
- Current page: 77 of 246
- Download datasheet (2Mb)
PS017610-0404
One-Shot Mode Time-Out Period (s)
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.
The steps for configuring a timer for One-Shot mode and initiating the count are as fol-
lows:
1. Write to the Timer Control register to:
2. Write to the Timer High and Low Byte registers to set the starting count value.
3. Write to the Timer Reload High and Low Byte registers to set the Reload value.
4. If desired, enable the timer interrupt and set the timer interrupt priority by writing to
5. If using the Timer Output function, configure the associated GPIO port pin for the
6. Write to the Timer Control register to enable the timer and initiate counting.
In One-Shot mode, the system clock always provides the timer input. The timer period is
given by the following equation:
Continuous Mode
In Continuous 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, the count value in the Timer High and
Low Byte registers is reset to
alternate function is enabled, the Timer Output pin changes state (from Low to High or
from High to Low) upon timer Reload.
The steps for configuring a timer for Continuous mode and initiating the count are as fol-
lows:
1. Write to the Timer Control register to:
–
–
–
–
the relevant interrupt registers.
Timer Output alternate function.
–
–
–
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).
Disable the timer
Configure the timer for Continuous mode.
Set the prescale value.
0001H
Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
and counting resumes. Also, if the Timer Output
=
(
----------------------------------------------------------------------------------------------------- -
Reload Value Start Value
System Clock Frequency (Hz)
–
)
×
Z8 Encore!
Prescale
Timers
®
59
Related parts for Z8F160x
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![z8f1601](/images/no-image3.png)
Part Number:
Description:
Z8 Encore!? Microcontroller With Flash Memory And 10-bit A/d Converter
Manufacturer:
ZiLOG Semiconductor
Datasheet:
![z8f2421pm020e](/images/no-image3.png)
Part Number:
Description:
Z8 Encore! Xp F64xx Series
Manufacturer:
ZiLOG Semiconductor
Datasheet:
![z8fmc16100](/images/no-image3.png)
Part Number:
Description:
Z8 Encore Motor Control Flash Mcus
Manufacturer:
ZiLOG Semiconductor
Datasheet:
![Z8F082A28100KIT](/images/no-image3.png)
Part Number:
Description:
Z8 Encore XP-R F08xA Series with eXtended Peripherals
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
![Z8F1602](/images/no-image3.png)
Part Number:
Description:
Z8 Encore Microcontrollers with Flash Memory and 10-Bit A/D Converter
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
![Z8FMC04100](/images/no-image3.png)
Part Number:
Description:
Z8 Encore-R Motor Control Flash MCUs
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
![Z8FMC16MCU](/images/no-image3.png)
Part Number:
Description:
Z8 Encore-R Motor Control Series
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
![Z86C8316PEC](/images/no-image3.png)
Part Number:
Description:
Z8 MCU MICROCONTROLLERS
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
![Z86C83](/images/no-image3.png)
Part Number:
Description:
Z8 MCU MICROCONTROLLERS
Manufacturer:
Zilog.
Datasheet:
![Z8018218FSC](/images/manufacturer_photos/0/7/730/zilog__inc__tmb.jpg)
Part Number:
Description:
Communication Controllers, ZILOG INTELLIGENT PERIPHERAL CONTROLLER (ZIP)
Manufacturer:
Zilog, Inc.
Datasheet:
![Z8F64200100KITG](/photos/9/20/92054/z8f64200100kitg_tmb.jpg)
Part Number:
Description:
KIT DEV FOR Z8 ENCORE 16K TO 64K
Manufacturer:
Zilog
Datasheet:
![Z8F08A28100KITG](/photos/9/22/92241/z8f08a28100kitg_tmb.jpg)
Part Number:
Description:
KIT DEV Z8 ENCORE XP 28-PIN
Manufacturer:
Zilog
Datasheet:
![Z8F08200100KITG](/photos/9/22/92242/z8f08200100kitg_tmb.jpg)
Part Number:
Description:
DEV KIT FOR Z8 ENCORE 8K/4K
Manufacturer:
Zilog
Datasheet:
![Z8F04A28100KITG](/photos/9/22/92243/z8f04a28100kitg_tmb.jpg)
Part Number:
Description:
KIT DEV Z8 ENCORE XP 28-PIN
Manufacturer:
Zilog
Datasheet: