z8f0813 ZiLOG Semiconductor, z8f0813 Datasheet - Page 79
z8f0813
Manufacturer Part Number
z8f0813
Description
High-performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet
1.Z8F0813.pdf
(247 pages)
- Current page: 79 of 247
- Download datasheet (4Mb)
PS024314-0308
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
Output alternate function is enabled, the Timer Output pin changes state (from Low to
High or from High to Low) at timer Reload.
Follow the steps below to configure a timer for CONTINUOUS mode and to initiate the
count:
1. Write to the Timer Control register to:
2. Write to the Timer High and Low Byte registers to set the starting count value (usually
3. Write to the Timer Reload High and Low Byte registers to set the Reload value.
4. Enable the timer interrupt (if appropriate) and set the timer interrupt priority by
5. Configure the associated GPIO port pin (if using the Timer Output function) for the
6. Write to the Timer Control register to enable the timer and initiate counting.
In CONTINUOUS mode, the system clock always provides the timer input. The timer
period is given by the following equation:
If an initial starting value other than
registers, use the ONE-SHOT mode equation to determine the first time-out period.
–
–
–
–
0001H). This action only affects the first pass in CONTINUOUS mode. After the first
timer Reload in CONTINUOUS mode, counting always begins at the reset value of
0001H
writing to the relevant interrupt registers.
Timer Output alternate function.
ONE-SHOT Mode Time-Out Period (s)
CONTINUOUS Mode Time-Out Period (s)
Disable the timer
Configure the timer for CONTINUOUS mode
Set the prescale value
If using the Timer Output alternate function, set the initial output level (High or
Low)
.
0001H
0001H
is loaded into the Timer High and Low Byte
=
and counting resumes. Also, if the Timer
(
---------------------------------------------------------------------------------------------- -
=
Reload Value Start Value
----------------------------------------------------------------------- -
System Clock Frequency (Hz)
System Clock Frequency (Hz)
Reload Value Prescale
Z8 Encore! XP
–
Product Specification
×
®
F0823 Series
) Prescale
×
Timers
69
Related parts for z8f0813
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Z8 Encore!? Microcontroller With Flash Memory And 10-bit A/d Converter
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Z8 Encore! Xp F64xx Series
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Z8 Encore Motor Control Flash Mcus
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Z8 Encore XP-R F08xA Series with eXtended Peripherals
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 Encore Microcontrollers with Flash Memory and 10-Bit A/D Converter
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 Encore-R Motor Control Flash MCUs
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 Encore-R Motor Control Series
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 MCU MICROCONTROLLERS
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 Encore / Microcontrollers with Flash Memory and 10 Bit A/D Converter
Manufacturer:
Zilog
Datasheet:
Part Number:
Description:
Z8 MCU MICROCONTROLLERS
Manufacturer:
Zilog.
Datasheet:
Part Number:
Description:
Ez80f91 Mini Enet Module
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Z90233, Z90234, And Z90231 Ezvision 200 Television Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Digital Television Controllers
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Television Controllers
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
40-pin Low-cost Digital Television Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet: