English
Language : 

Z86L70 Datasheet, PDF (37/61 Pages) Zilog, Inc. – IR/Low-Voltage Microcontroller
Zilog
Z86L70/71/75/C71
IR/Low-Voltage Microcontroller
To Terminate Ping-Pong Mode
mination of Ping-Pong Mode, the user should not change
Change Transmit Mode to Normal Mode (CTR1 D2, D3). the value of CTR0 or CTR2, except for resetting the time-
Notice that Ping-Pong Mode is not actually stopped until
one of the timer/counter's time-out. Before the actual ter-
out status bit. Here is an example for terminating Ping-
Pong Mode safely:
1
or
loop_a:
tm
jr
Id
or
loop_b:
tm
jr
Id
Id
CTR0,#%20
CTR0,#%20
z,loop_a
CTR1,#00000000b
CTR2,#%20
CTR2,#%20
z,loop_b
CTR0,#00100000b
CTR2,#00100000b
;reset T8 time-out status bit
;wait until T8 times-out
;change to Normal Mode
;reset T16 time-out status bit
;wait until T16 times-out
;now Ping-Pong Mode is actually
;terminated and user can re-program T8
;and T16
TC8H
T8_OUT
Enable T8,
T8_OUT Switches
To Its Initial Value
T8_OUT Toggles
TC16H*256+TC16L
TC8H
T8_OUT Toggles
T16_OUT
T16_OUT Switches To Its Initial
Value When TC16 Is Enabled
TC16H*256+TC16L
T16_OUT Toggles
T16_OUT
Figure 28. T8_OUT and T16_OUT in Ping-Pong Mode
DS97LVO0500
PRELIMINARY
1-37