Z8F011ASH020EG2156 ZiLOG, Z8F011ASH020EG2156 Datasheet - Page 90

no-image

Z8F011ASH020EG2156

Manufacturer Part Number
Z8F011ASH020EG2156
Description
8-bit Microcontrollers - MCU 1K FLASH 256B RAM 16B NVDS
Manufacturer
ZiLOG
Datasheet

Specifications of Z8F011ASH020EG2156

Rohs
yes
Core
eZ8
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
1 KB
Data Ram Size
256 B
On-chip Adc
No
Package / Case
SOIC-20
Mounting Style
SMD/SMT
Interface Type
UART
Maximum Operating Temperature
+ 105 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
17
Number Of Timers
2
Program Memory Type
Flash
Supply Voltage - Max
3.6 V
Supply Voltage - Min
2.7 V
PS025113-1212
is enabled, the timer output pin changes state (from Low to High or from High to Low) at
timer reload.
Observe the following steps for configuring a timer for COUNTER Mode and for initiat-
ing 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. This
3. Write to the Timer Reload High and Low Byte registers to set the reload value.
4. If appropriate, enable the timer interrupt and set the timer interrupt priority by writing
5. Configure the associated GPIO port pin for the timer input alternate function.
6. If using the timer output function, configure the associated GPIO port pin for the timer
7. Write to the Timer Control Register to enable the timer.
In COUNTER Mode, the number of timer input transitions is calculated with the follow-
ing equation:
Counter Mode Timer Input Transitions
COMPARATOR COUNTER Mode
In COMPARATOR COUNTER Mode, the timer counts the input transitions from the ana-
log comparator output. The TPOL bit in the Timer Control Register determines whether
the count occurs on the rising edge or the falling edge of the comparator output signal. In
COMPARATOR COUNTER Mode, the prescaler is disabled.
only affects the first pass in COUNTER Mode. After the first timer reload in COUN-
TER Mode, counting always begins at the reset value
the Timer High and Low Byte registers must be written with the value
to the relevant interrupt registers.
output alternate function.
Disable the timer
Configure the timer for COUNTER Mode
Select either the rising edge or falling edge of the timer input signal for the count.
This selection also sets the initial logic level (High or Low) for the timer output
alternate function. However, the timer output function is not required to be
enabled.
=
Current Count Value Start Value
0001H
Z8 Encore!
Product Specification
. In COUNTER Mode,
®
F0830 Series
0001H
Operation
.
72

Related parts for Z8F011ASH020EG2156