Z8F16800144ZCOG Zilog, Z8F16800144ZCOG Datasheet - Page 117

KIT DEV FOR Z8F642 MCU 44 PIN

Z8F16800144ZCOG

Manufacturer Part Number
Z8F16800144ZCOG
Description
KIT DEV FOR Z8F642 MCU 44 PIN
Manufacturer
Zilog
Series
Z8 Encore!®r
Type
MCUr
Datasheets

Specifications of Z8F16800144ZCOG

Contents
Hardware, Software and Documentation
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-4678
PS025011-1010
Table 51. DEMODULATION Mode Initialization Example
Register
T0CTL0
T0CTL1
T0CTL2
T0H
T0L
T0RH
T0RL
T0PWM0H
T0PWM0L
6. Clear the Timer TxPWM0 and TxPWM1 High and Low Byte registers to
7. If required, enable the noise filter and set the noise filter control by writing to the
8. If required, enable the timer interrupt and set the timer interrupt priority by writing to
9. Configure the associated GPIO port pin for the Timer Input alternate function.
10. Write to the Timer Control 1 register to enable the timer. Counting will start on the
In DEMODULATION mode, the elapsed time from timer start to Capture event can be
calculated using the following equation:
Table 51
DEMODULATION mode and initiating operation.
Value
C0H
04H
11H
00H
01H
ABH
CDH
00H
00H
relevant bits in the Noise Filter Control Register.
the relevant interrupt registers. By default, the timer interrupt will be generated for
both input capture and reload events. If required, configure the timer interrupt to be
generated only at the input Capture event or the Reload event by setting TICONFIG
field of the Timer Control 0 register.
occurrence of the first external input transition.
Capture Elapsed Time (s)
provides an example initialization sequence for configuring Timer 0 in
Comment
TMODE[3:0] = 1100B selects DEMODULATION mode.
TICONFIG[1:0] = 10B enables interrupt only on Capture events.
CSC = 0 selects the Timer Input from the GPIO pin.
PWMD[2:0] = 000B has no effect.
INPCAP = 0 has no effect.
TEN = 0 disables the timer.
PRES[2:0] = 000B sets prescaler to divide by 1.
TPOLHI,TPOL = 10 enables trigger and Capture on both rising
and falling edges of Timer Input.
TCLKS = 1 enables 32 kHz peripheral clock as timer clock source
Timer starting value = 0001H
Timer reload value = ABCDH
Initial PWM0 value = 0000H
P R E L I M I N A R Y
=
-----------------------------------------------------------------------------------------------------------
Capture Value - Start Value
Timer Clock Frequency (Hz)
Z8 Encore! XP
 Prescale
Product Specification
®
F1680 Series
0000H
Timers
.
103

Related parts for Z8F16800144ZCOG