Z8F16800128ZCOG Zilog, Z8F16800128ZCOG Datasheet - Page 103

KIT DEV FOR Z8F642 MCU 28PIN

Z8F16800128ZCOG

Manufacturer Part Number
Z8F16800128ZCOG
Description
KIT DEV FOR Z8F642 MCU 28PIN
Manufacturer
Zilog
Series
Z8 Encore!®r
Type
MCUr

Specifications of Z8F16800128ZCOG

Contents
Hardware, Software and Documentation
Processor To Be Evaluated
F083A
Data Bus Width
8 bit
Interface Type
RS-232, USB
For Use With/related Products
Z8F642
For Use With
269-4661 - KIT ACC ETHERNET SMART CABLE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4677
PS025011-1010
Table 50. Triggered ONE-SHOT Mode Initialization Example
Register
T0CTL0
T0CTL1
T0CTL2
T0H
T0L
T0RH
T0RL
Value
E0H
03H
01H
00H
01H
ABH
CDH
Triggered ONE-SHOT Mode
In Triggered ONE-SHOT mode, the Timer operates as follows:
1. The Timer idles until a trigger is received. The Timer trigger is taken from the GPIO
2. Following the trigger event, the Timer counts timer clocks up to the 16-bit Reload
3. On reaching the Reload value, the Timer outputs a pulse on the Timer Output pin,
4. The Timer now idles until the next trigger event.
In Triggered ONE-SHOT mode, the timer clock always provides the timer input. The
timer period is given by the following equation:
Table 50
ONE-SHOT mode and initiating operation.
Port pin Timer Input alternate function. The TPOL bit in the Timer Control 1 register
selects whether the trigger 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
bit also sets the polarity of the output pulse.
Triggered ONE-SHOT Mode Time-Out Period (s)
provides an example initialization sequence for configuring Timer 0 in Triggered
0001H
Timer starting value = 0001H.
Comment
TMODE[3:0] = 1011B selects Triggered ONE-SHOT mode.
TICONFIG[1:0] = 11B enables interrupts on Timer reload only.
CSC = 0 selects the Timer Input (Trigger) from the GPIO pin.
PWMD[2:0] = 000B has no effect.
INPCAP = 0 has no effect.
TEN = 0 disables the timer.
TPOL = 0 enables triggering on rising edge of Timer. Input and sets
PRES[2:0] = 000B sets prescaler to divide by 1.
TCLKS = 1 sets 32 kHz peripheral clock as the Timer clock source.
Timer reload value = ABCDH.
. The period of the output pulse is a single timer clock. The TPOL
Timer Out signal to 0.
P R E L I M I N A R Y
=
-------------------------------------------------------------------------------------------------------- -
Reload Value - Start Value
Z8 Encore! XP
Timer Clock Frequency (Hz)
Product Specification
®
F1680 Series
 Prescale
Timers
89

Related parts for Z8F16800128ZCOG