Z86L81/86/98
28-Pin Low-Voltage Infrared Microcontrollers
40
initial count of “1” is not allowed (a non-function occurs). An
initial count of “0” causes TC8 to count from 0 to FFh to FEh.
Note: The letter h is used for hexadecimal values.
Transition from 0 to FFh is not a timeout condition.
Caution: Using the same instructions for stopping the counter/timers
and setting the status bits is not recommended.
Two successive commands are necessary. First, the counter/timers must be
stopped. Second, the status bits must be reset. These commands are required
because it takes one counter/timer clock interval for the initiated event to actually
occur. See Figure 17 and Figure 18.
TC8H
Count
Counter Enable
Command; T8_OUT
Switches to Its Initial
Value (CTR1 D1)
T8_OUT Toggles;
Timeout Interrupt
Figure 17. T8_OUT in Single-Pass Mode
T8_OUT
T8_OUT
TC8L
TC8H
TC8L
TC8H
...
TC8L
Counter Enable
Command; T8_OUT
Switches to Its
Initial Value (CTR1 D1)
Timeout
Interrupt
Figure 18. T8_OUT in Modulo-N Mode
Timeout
Interrupt
19-4615; Rev 0; 4/09