z16f2811 ZiLOG Semiconductor, z16f2811 Datasheet - Page 117
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: 117 of 383
- Download datasheet (3Mb)
PS022006-0207
Capture Elapsed Time (s)
Compare Mode Time (s)
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. Write to the timer control 1 register to enable the timer. In CAPTURE and CAPTURE
In CAPTURE modes, the elapsed time from timer start to Capture event is calculated
using the following equation (start value = 1):
COMPARE Mode
In COMPARE mode, the timer counts up to the 16-bit Compare value stored in the timer
reload high and low byte registers. After reaching the compare value, the timer generates
an interrupt and counting continues (the timer value is not reset to
output alternate function is enabled, the timer output pin changes state (from Low to High
or High to Low).
If the timer reaches
Follow the steps below to configure timer for COMPARE mode and initiate the count:
1. Write to the timer control registers to:
2. Write to the timer high and low byte registers to set the starting count value.
3. Write to the timer reload high and low byte registers to set the Compare value.
4. Enable the timer interrupt, if appropriate, and set the timer interrupt priority by writing
5. When using the timer output function, configure the associated GPIO port pin for the
6. Write to the timer control 1 register to enable the timer and initiate counting.
The compare time is calculated by the following equation (Start Value = 1):
to the relevant interrupt registers.
RESTART modes, the timer begins counting. In CAPTURE COMPARE mode the
timer does not start counting until the first appropriate input transition occurs.
–
–
–
–
to the relevant interrupt registers.
timer output alternate function.
Disable the timer.
Configure the timer for COMPARE mode.
Set the prescale value.
Set the initial logic level (High or Low) for the timer output alternate function, if
required.
FFFFH
=
P R E L I M I N A R Y
=
, the timer rolls over to
(
----------------------------------------------------------------------------------------------------------------
(
------------------------------------------------------------------------------------------------------------- -
Compare Value Start Value + 1
Capture Value Start Value + 1
System Clock Frequency (Hz)
System Clock Frequency (Hz)
–
–
0000H
and continues counting.
Product Specification
)
)
ZNEO
×
0001H
×
Prescale
Prescale
™
). If the timer
Z16F Series
Timers
103
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: