z16f2811 ZiLOG Semiconductor, z16f2811 Datasheet - Page 114
z16f2811
Manufacturer Part Number
z16f2811
Description
High Performance Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet
1.Z16F2811.pdf
(383 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
z16f2811AL20SG
Manufacturer:
VISHAY
Quantity:
9 487
Part Number:
z16f2811AL20SG
Manufacturer:
ZILOG
Quantity:
20 000
Company:
Part Number:
z16f2811FI20SG
Manufacturer:
Zilog
Quantity:
155
- Current page: 114 of 383
- Download datasheet (3Mb)
PS022006-0207
4. Enable the timer interrupt, if appropriate, and set the timer interrupt priority by writing
5. Configure the associated GPIO port pin for the timer input alternate function
6. When using the timer output function, configure the associated GPIO port pin for the
7. Write to the timer control 1 register to enable the timer.
PWM SINGLE and DUAL OUTPUT Modes
In PWM SINGLE OUTPUT mode, the timer outputs a PWM output signal through a
GPIO Port pin. In PWM DUAL OUTPUT mode, the timer outputs a PWM output signal
and also its complement through two GPIO port pins. The timer first counts up to the
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. When it reaches the Reload value, the timer generates an interrupt. The count
value in the timer high and low byte registers is reset to
The timer output signal begins with value =
timer value matches the PWM value. The timer output signal returns to
timer reaches the Reload value and is reset to
In PWM DUAL OUTPUT mode, the timer also generates a second PWM output signal,
timer output complement (TOUT). A programmable deadband is configured (
to delay (0 to 128 system clock cycles) the Low to a High (inactive to active) output
transitions on these two pins. This configuration ensures a time gap between the
deassertion of one PWM output to the assertion of its complement.
Follow the steps below to configure a timer for PWM SINGLE or DUAL OUTPUT mode
and initiate the PWM operation:
1. Write to the timer control registers to:
2. Write to the timer high and low byte registers to set the starting count value (typically
3. Write to the PWM high and low byte registers to set the PWM value.
to the relevant interrupt registers.
(COUNTER mode).
timer output alternate function.
–
–
–
–
–
0001H
first timer reset in PWM mode, counting always begins at the reset value of
Disable the timer.
Configure the timer for the selected PWM mode.
Set the prescale value.
Set the initial logic level (High or Low) and PWM High or Low transition for the
timer output alternate function with the TPOL bit.
Set the deadband delay (DUAL OUTPUT mode) with the
). The starting count value only affects the first pass in PWM mode. After the
P R E L I M I N A R Y
TPOL
0001H
and then transits to
.
0001H
and counting resumes.
Product Specification
ZNEO
PWMD
TPOL
TPOL
field.
™
, when the
Z16F Series
PWMD
after the
0001H
Timers
field)
.
100
Related parts for z16f2811
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Ez80f91 Mini Enet Module
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Development Boards & Kits - 8051 Z51F0811 Eval Kit
Manufacturer:
ZiLOG
Datasheet:
Part Number:
Description:
Development Boards & Kits - Other Processors ZiLOG TCP/IP Software Suite (ZTP Rev 1.4) - Object Code (Free download on www.zilog.com)
Manufacturer:
ZiLOG
Part Number:
Description:
Z90233, Z90234, And Z90231 Ezvision 200 Television Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Digital Television Controllers
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Television Controllers
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
40-pin Low-cost Digital Television Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
40-pin Low-cost Digital Television Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Digital Television Controller In-circuit Emulator Ice Device
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Digital Television Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Digital Television Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Cmos Usc Universal Serial Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Iusc Integrated Universal Serial Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
16-bit Processor
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Pcmcia Interface Solution
Manufacturer:
ZiLOG Semiconductor
Datasheet: