English
Language : 

Z86L972 Datasheet, PDF (39/91 Pages) Zilog, Inc. – Low-Voltage Microcontrollers
Z86L972/Z86L973/Z86L974
Low-Voltage Microcontrollers
32
The six most significant bits (D2–D7) of PRE1 hold the prescaler count modulo, a
value from 11 to 64 decimal. The prescaler register also contains control bits that
specify T1 counting modes. These bits also indicate whether the clock source for
T1 is internal or external.
The counter/timer T1 (F2h) consists of an 8-bit down-counter, a write-only register
that holds the initial count value, and a read-only register that holds the current
count value (see Figure 15 on page 30). The initial value can range from 1 to 256
decimal (01h, 02h, ..., 00h). Figure 18 illustrates the counter/timer register.
R242 T1
Counter/Timer 1 Register
(F2h; Read/Write)
D7 D6 D5 D4 D3 D2 D1 D0
Figure 18. Counter/Timer 1 Register
Initial value when written
(range 1–256 decimal, 01h–00h)
Current value when read
Counter/Timer Operation
Under software control, T1 is started and stopped using the Timer Mode register
(F1h) bits D2–D3: a Load bit and an Enable Count bit. See Figure 19.
R241 TMR
Timer Mode Register
(F1h; Read/Write)
D3 D2 D1 D0
Figure 19. Timer Mode Register
Reserved
0 = No function
1 = Load T1
0 = Disable T1 count
1 = Enable T1 count
PS010504-1002
PRELIMINARY