English
Language : 

ZLR32300 Datasheet, PDF (46/103 Pages) Zilog, Inc. – Z8 Low-Voltage ROM MCU with Infrared Timers
Crimzon® ZLR32300
Product Specification
41
T16 TRANSMIT Mode
In NORMAL or PING-PONG mode, the output of T16 when not enabled, is depen-
dent on CTR1, D0. If it is a 0, T16_OUT is a 1; if it is a 1, T16_OUT is 0. You can
force the output of T16 to either a 0 or 1 whether it is enabled or not by program-
ming CTR1 D3; D2 to a 10 or 11.
When T16 is enabled, TC16H * 256 + TC16L is loaded, and T16_OUT is switched
to its initial value (CTR1, D0). When T16 counts down to 0, T16_OUT is toggled
(in NORMAL or PING-PONG mode), an interrupt (CTR2, D1) is generated (if
enabled), and a status bit (CTR2, D5) is set (see Figure 22).
Z8 Data Bus
Positive Edge
Negative Edge
HI16
CTR2 D2
LO16
IRQ3
CTR2 D4, D3
CTR2 D1
SCLK
Clock
Select
Clock
16-Bit
Counter T16
T16_OUT
Z8 Data Bus
TC16H
TC16L
Note:
Figure 22.16-Bit Counter/Timer Circuits
Global interrupts override this function as described in Interrupts
on page 45.
If T16 is in SINGLE-PASS mode, it is stopped at this point (see Figure 23 on page
42). If it is in MODULO-N mode, it is loaded with TC16H * 256 + TC16L, and the
counting continues (see Figure 24 on page 42).
You can modify the values in TC16H and TC16L at any time. The new values take
effect when they are loaded.
19-4623; Rev 0; 5/09
Functional Description