Z8F042AHH020EG Zilog, Z8F042AHH020EG Datasheet - Page 85

IC ENCORE XP MCU FLASH 4K 20SSOP

Z8F042AHH020EG

Manufacturer Part Number
Z8F042AHH020EG
Description
IC ENCORE XP MCU FLASH 4K 20SSOP
Manufacturer
Zilog
Series
Encore!® XP®r
Datasheet

Specifications of Z8F042AHH020EG

Core Processor
Z8
Core Size
8-Bit
Speed
20MHz
Connectivity
IrDA, UART/USART
Peripherals
Brown-out Detect/Reset, LED, LVD, POR, PWM, Temp Sensor, WDT
Number Of I /o
17
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4156
Z8F042AHH020EG
PS022517-0508
Caution:
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, the ONE-SHOT mode equation must be used to determine the first time-out
period.
COUNTER Mode
In COUNTER mode, the timer counts input transitions from a GPIO port pin. The timer
input is taken from the GPIO Port pin Timer Input alternate function. The TPOL bit in the
Timer Control Register selects whether the count occurs on the rising edge or the falling
edge of the Timer Input signal. In COUNTER mode, the prescaler is disabled.
Upon reaching the Reload value stored in the Timer Reload High and Low Byte Registers,
the timer generates an interrupt, the count value in the Timer High and Low Byte Registers
is reset to
enabled, the Timer Output pin changes state (from Low to High or from High to Low) at
timer Reload.
Follow the steps below for configuring a timer for COUNTER mode and initiating 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.
CONTINUOUS Mode Time-Out Period (s)
frequency.
only affects the first pass in COUNTER mode. After the first timer Reload in
COUNTER mode, counting always begins at the reset value of
COUNTER mode the Timer High and Low Byte Registers must be written with the
value
The input frequency of the Timer Input signal must not exceed one-fourth system clock
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 also sets the initial logic level (High or Low) for the Timer Output alternate
function. However, the Timer Output function does not have to be enabled.
0001H
0001H
.
and counting resumes. Also, if the Timer Output alternate function is
0001H
=
is loaded into the Timer High and Low Byte
------------------------------------------------------------------------------ -
System Clock Frequency (Hz)
Reload Value
Z8 Encore! XP
x
Product Specification
Prescale
0001H
®
. Generally, in
F0822 Series
Timers
72

Related parts for Z8F042AHH020EG