z16f2811 ZiLOG Semiconductor, z16f2811 Datasheet - Page 116

no-image

z16f2811

Manufacturer Part Number
z16f2811
Description
High Performance Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z16f2811AL20AG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811AL20EG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811AL20SG
Manufacturer:
VISHAY
Quantity:
9 487
Part Number:
z16f2811AL20SG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811AL20SG
Manufacturer:
ZILOG
Quantity:
20 000
Part Number:
z16f2811FI20AG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811FI20EG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z16f2811FI20SG
Manufacturer:
Zilog
Quantity:
155
PS022006-0207
CAPTURE Mode
When the timer is enabled in CAPTURE mode, it counts continuously and resets to
from
stored in the PWM high and low byte registers, an interrupt is generated and the timer
continues counting. The timer continues counting up to the 16-bit Reload value stored in
the timer reload high and low byte registers. On reaching the Reload value, the timer
generates an interrupt and continues counting.
CAPTURE RESTART Mode
When the timer is enabled in CAPTURE RESTART mode, it counts continuously until
the capture event occurs or the timer count reaches the 16-bit Compare value stored in the
timer reload high and low byte registers. If the Capture event occurs first, the timer
counter value is captured and stored in the PWM High and Low byte registers, an interrupt
is generated and the count value in the timer high and low byte registers is Reset to
and counting resumes. If no Capture event occurs, on reaching the Reload value, the timer
generates an interrupt, the count value in the timer high and low byte registers is Reset to
0001H
CAPTURE/COMPARE Mode
The CAPTURE/COMPARE mode is identical to CAPTURE RESTART mode except that
counting does not start until the first appropriate external timer reload high and low byte
Input transition occurs. Every subsequent appropriate transition (after the first) of the
timer reload high and low byte Input signal captures the current count value. When the
Capture event occurs, an interrupt is generated, the count value in the Timer Reload High
and Low byte High and Low Byte registers is reset to
Capture event occurs, on reaching the Compare value, the timer generates an interrupt, the
count value in the timer high and low byte registers is Reset to
resumes.
Follow the steps below to configure a timer for one of the CAPTURE modes and initiate
the count:
1. Write to the timer control registers to:
2. Write to the timer reload 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 Reload value.
(typically
FFFFH
and counting resumes.
Disable the timer.
Configure the timer for the selected CAPTURE mode.
Set the prescale value.
Set the Capture edge (rising or falling) for the timer input.
Configure the timer interrupt to be generated at the input capture event, the reload
event or both by setting
. When the Capture event occurs, the timer counter value is captured and
0001H
).
P R E L I M I N A R Y
TICONFIG
field.
0001H
, and counting resumes. If no
0001H
Product Specification
ZNEO
and counting
Z16F Series
0000H
0001H
Timers
102

Related parts for z16f2811