Z8F042AHJ020SC00TR Zilog, Z8F042AHJ020SC00TR Datasheet - Page 86

no-image

Z8F042AHJ020SC00TR

Manufacturer Part Number
Z8F042AHJ020SC00TR
Description
IC ENCORE XP MCU FLASH 4K 28SSOP
Manufacturer
Zilog
Series
Encore!® XP®r
Datasheets

Specifications of Z8F042AHJ020SC00TR

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
23
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 8x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
28-SSOP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
Z8F042AHJ020SC00T
PS022825-0908
If the TPOL bit in the Timer Control register is set to 0, the Timer Output signal begins as
a Low (0) and transitions to a High (1) when the timer value matches the PWM value. The
Timer Output signal returns to a Low (0) after the timer reaches the Reload value and is
reset to
Follow the steps below for configuring a timer for PWM SINGLE OUTPUT mode and
initiating the PWM operation:
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 PWM High and Low Byte registers to set the PWM value.
4. Write to the Timer Reload High and Low Byte registers to set the Reload value (PWM
5. If appropriate, enable the timer interrupt and set the timer interrupt priority by writing
6. Configure the associated GPIO port pin for the Timer Output alternate function.
7. Write to the Timer Control register to enable the timer and initiate counting.
The PWM period is represented by the following equation:
If an initial starting value other than
registers, use the ONE-SHOT mode equation to determine the first PWM time-out period.
If TPOL is set to 0, the ratio of the PWM output High time to the total period is repre-
sented by:
If TPOL is set to 1, the ratio of the PWM output High time to the total period is repre-
sented by:
(typically
reset in PWM mode, counting always begins at the reset value of
period). The Reload value must be greater than the PWM value.
to the relevant interrupt registers.
PWM Period (s)
PWM Output High Time Ratio (%)
PWM Output High Time Ratio (%)
0001H
Disable the timer.
Configure the timer for PWM SINGLE OUTPUT mode.
Set the prescale value.
Set the initial logic level (High or Low) and PWM High/Low transition for the
Timer Output alternate function.
0001H
.
). This only affects the first pass in PWM mode. After the first timer
=
----------------------------------------------------------------------- -
System Clock Frequency (Hz)
Reload Value Prescale
0001H
=
=
×
--------------------------------
Reload Value
Reload Value PWM Value
----------------------------------------------------------------- -
PWM Value
is loaded into the Timer High and Low Byte
Reload Value
Z8 Encore! XP
×
100
Product Specification
0001H
×
®
100
F082A Series
.
Timers
75

Related parts for Z8F042AHJ020SC00TR