English
Language : 

Z86E3016PSG Datasheet, PDF (146/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 Family of Microcontrollers
User Manual
128
For T1 to start counting as a result of a TIN input, the Enable Count bit
(bit 3 in TMR) must be set to 1. When using TIN as an external clock or a
gate input, the initial values must be loaded into the down counters by set-
ting the Load bit (bit 2 in TMR) to a 1 before counting begins. In the
descriptions of TIN that follow, it is assumed the programmer has per-
formed these operations. Initial values are automatically loaded in Trigger
and Retrigger modes so software loading is unnecessary.
Register F1h
Timer Mode Register (TMR)
(Read/Write)
D5 D4
TIN = Modes:
External Clock Input = 00
Gate Input = 01
Trigger Input = 10 (Non-retriggerable)
Trigger Input = 11 (Retriggerable)
Figure 80. Timer Mode Register (TIN Operation)
Register F3h
Prescaler 1 Register (PRE1)
(Write-Only)
D7 D6 D5 D4 D3 D2 D1 D0
Clock Source
0 = T1 External Enable TIN Mode
1 = T1 Internal Disable TIN Mode
Figure 81. Prescaler 1 Register (TIN Operation)
Counters and Timers
UM001602-0904