z8f083a ZiLOG Semiconductor, z8f083a Datasheet - Page 85

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
5. Write to the timer reload high and low byte registers to set the reload value (PWM
6. If appropriate, enable the timer interrupt and set the timer interrupt priority by writing
7. Configure the associated GPIO port pin for the timer output and timer output
8. 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, the ONE-SHOT mode equation determines the first PWM time-out period.
If TPOL bit is set to 0, the ratio of the PWM output high time to the total period is
represented by:
PWM Output High Time Ratio (%)
If TPOL bit is set to 1, the ratio of the PWM output high time to the total period is
represented by:
CAPTURE Mode
In CAPTURE mode, the current timer count value is recorded when the appropriate
external timer input transition occurs. The capture count value is written to the timer
PWM high and low byte registers. The timer input is the system clock. The TPOL bit in
the timer control register determines if the capture occurs on a rising edge or a falling edge
of the timer input signal.
When the Capture event occurs, an interrupt is generated and the timer continues counting.
The INPCAP bit in TxCTL1 register is set to indicate the timer interrupt because of an
input Capture event.
PWM Output High Time Ratio (%)
PWM Period (s)
duration of the negative phase of the PWM signal (as defined by the difference
between the PWM registers and the timer reload registers).
period). The reload value must be greater than the PWM value.
to the relevant interrupt registers.
complement alternate functions. The timer output complement function is shared with
the timer input function for both timers. Setting the timer mode to dual PWM, will
automatically switch the function from timer-in to timer-out complement.
=
--------------------------------------------------------------------------- -
System Clock Frequency (Hz)
Reload Value
0001H
=
=
×
Reload Value PWM Value
----------------------------------------------------------------------- -
Prescale
--------------------------------- -
Reload Value
PWM Value
is loaded into the timer high and low byte
Reload Value
×
Z8 Encore!
100
Product Specification
®
×
F083A Series
100
Timers
73

Related parts for z8f083a