z8f083a ZiLOG Semiconductor, z8f083a Datasheet - Page 82

no-image

z8f083a

Manufacturer Part Number
z8f083a
Description
High-performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8f083a0128ZCOG
Manufacturer:
Zilog
Quantity:
1
Part Number:
z8f083aPH020SG
Manufacturer:
LT
Quantity:
1 154
Part Number:
z8f083aSH020SG
Manufacturer:
Zilog
Quantity:
380
Part Number:
z8f083aSH020SG
Manufacturer:
ZILOG
Quantity:
20 000
Part Number:
z8f083aSJ020EG
Manufacturer:
Zilog
Quantity:
363
PS026308-1207
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. If using the timer output function, configure the associated GPIO port pin for the timer
6. Write to the timer control register to enable the timer.
In COMPARATOR COUNTER mode, the number of comparator output transitions is
given by the following equation:
PWM SINGLE OUTPUT Mode
In PWM SINGLE OUTPUT mode, the timer outputs a pulse width modulated (PWM)
output signal through a GPIO port pin. The timer input is the system clock. The timer first
counts up to 16-bit PWM match value stored in the timer PWM high and low byte
registers. When the timer count value matches the PWM value, the timer output toggles.
The timer continues counting until it reaches the reload value stored in the timer reload
high and low byte registers. On reaching the reload value, the timer generates an interrupt,
the count value in the timer high and low byte registers is reset to
resumes.
If the TPOL bit in the timer control register is set to 1, the timer output signal begins as a
high (1) and transitions to a low (0) when the timer value matches the PWM value. The
timer output signal returns to a high (1) after the timer reaches the reload value and is reset
to
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
0001H
0001H
Comparator Output Transitions
action only affects the first pass in COMPARATOR COUNTER mode. After the first
timer reload in COMPARATOR COUNTER mode, counting always begins at the
reset value
and low byte registers must be written with the value
to the relevant interrupt registers.
output alternate function.
Select either the rising edge or falling edge of the comparator output 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 is not required to be
enabled
.
.
0001H
. Generally, in COMPARATOR COUNTER mode, the timer high
=
Current Count Value Start Value
0001H
Z8 Encore!
Product Specification
.
0001H
®
and counting
F083A Series
Timers
70

Related parts for z8f083a