z16f2811 ZiLOG Semiconductor, z16f2811 Datasheet - Page 112

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
Triggered One-Shot Mode Time-Out Period (s)
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. Counting does not start until
The timer period is calculated by the following equation (Start Value = 1):
CONTINUOUS Mode
In CONTINUOUS mode, the timer counts up to the 16-bit Reload value stored in the
timer reload high and low byte registers. After reaching the Reload value, the timer
generates an interrupt, the count value in the timer high and low byte registers is reset to
0001H
output pin changes state (from Low to High or High to Low) after timer Reload.
Follow the steps below to configure a timer for CONTINUOUS mode and initiate 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 (usually
3. Write to the timer reload high and low byte registers to set the Reload period.
4. Enable the timer interrupt, if required, and set the timer interrupt priority by writing to
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 timer period is calculated by the following equation:
Continuous Mode Time-Out Period (s)
timer output alternate function.
the appropriate input transition occurs.
0001H). This only affects the first pass in CONTINUOUS mode. After the first timer
reload in CONTINUOUS mode, counting always begins at the reset value of
the relevant interrupt registers.
timer output alternate function.
and counting resumes. If the timer output alternate function is enabled, the timer
Disable the timer.
Configure the timer for CONTINUOUS mode.
Set the prescale value.
Set the initial output level (High or Low) through TPOL for the timer output
alternate function.
P R E L I M I N A R Y
=
=
(
----------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------- -
System Clock Frequency (Hz)
Reload Value Start Value + 1
Reload Value Prescale
System Clock Frequency (Hz)
×
Product Specification
ZNEO
Z16F Series
)
×
0001H
Prescale
Timers
.
98

Related parts for z16f2811