z8fmc16100 ZiLOG Semiconductor, z8fmc16100 Datasheet - Page 104

no-image

z8fmc16100

Manufacturer Part Number
z8fmc16100
Description
Z8 Encore Motor Control Flash Mcus
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8fmc16100AKEG
Manufacturer:
LT
Quantity:
151
Part Number:
z8fmc16100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100QKEG
Manufacturer:
TOREX
Quantity:
2 000
PS024611-0408
ONE-SHOT Mode Timeout Period (s) =
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 reload value.
4. If appropriate, enable the timer interrupt and set the timer interrupt priority by writing
5. If 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 (Start Value = 1):
TRIGGERED ONE-SHOT Mode
In TRIGGERED ONE-SHOT mode, the timer operates as given below:
1. The Timer idles until a trigger is received. The timer trigger is taken from the Timer
2. Following the trigger event, the timer counts system clocks up to the 16-bit reload
3. Upon reaching the reload value, the timer outputs a pulse on the Timer Output pin,
4. The timer idles until the next trigger event. Trigger events that occur while the timer is
Follow the steps below to configure Timer 0 in TRIGGERED ONE-SHOT mode and
initiate operation:
1. Write to the Timer Control registers to:
(d) If using the Timer Output alternate function, set the initial output level (High or
(e) Set the interrupt mode.
to the relevant interrupt registers.
Timer Output alternate function.
Input pin. The
occurs on the rising edge or the falling edge of the Timer Input signal.
value stored in the Timer Reload High and Low Byte registers.
generates an interrupt, and resets the count value in the Timer High and Low Byte
registers to
TPOL
responding to a previous trigger is ignored.
(a) Disable the timer.
(b) Configure the timer for TRIGGERED ONE-SHOT mode.
(c) Set the prescale value.
Low) using the
bit also sets the polarity of the output pulse.
0001h
TPOL
. The duration of the output pulse is a single system clock. The
TPOL
bit in the Timer Control 1 register selects whether the trigger
bit.
(Reload Value – Start Value + 1) x Prescaler
System Clock Frequency (Hz)
Z8FMC16100 Series Flash MCU
Product Specification
Timer Operating Modes
92

Related parts for z8fmc16100