English
Language : 

Z86L70 Datasheet, PDF (24/61 Pages) Zilog, Inc. – IR/Low-Voltage Microcontroller
Z86L70/71/75/C71
IR/Low-Voltage Microcontroller
CTR0 (D)00: Counter/Timer8 Control Register.
Zilog
Field
T8_Enable
Bit Position
7-------
Single/Modulo-N
Time_Out
-6------
--5-----
T8_Clock
---43---
Capture_INT_Mask
Counter_INT_Mask
P34_Out
-----2--
------1-
-------0
CTR0: Counter/Timer8 Control Register Description
T8 Enable. This field enables T8 when set (written) to 1.
Single/Modulo-N. When set to 0 (modulo-n), the counter
reloads the initial value when the terminal count is
reached. When set to 1 (single pass), the counter stops
when the terminal count is reached.
Time-Out. This bit is set when T8 times out (terminal count
reached). To reset this bit, a 1 should be written to this lo-
cation. This is the only way to reset this status condition,
therefore, care should be taken to reset this bit prior to us-
ing/enabling the counter/timers.
Note: Care must be taken when utilizing the OR or AND
commands to manipulate CTR0, bit 5 and CTR1, bits 0
and 1 (Demodulation Mode). These instructions use a
Read-Modify-Write sequence in which the current status
from the CTR0 and CTR1 registers will be ORed or ANDed
with the designated value and then written back into the
registers. Example: When the status of bit 5 is 1, a reset
condition will occur.
Value
Description
R
0*
Counter Disabled
1
Counter Enabled
W
0
Stop Counter
1
Enable Counter
R/W
0
Modulo-N
1
Single Pass
R
0
No Counter Time-Out
Counter Time-Out Occurred
No Effect
Reset Flag to 0
R/W
00
SCLK
01
SCLK/2
10
SCLK/4
11
SCLK/8
R/W
0
Disabled Data Capture Int.
1
Enable Data Capture Int.
R/W
0
Disable Data Capture Int.
1
Enable Time-Out Int.
R/W
0
P34 as Port Output
1
T8 Output on P34
T8 Clock. Defines the frequency of the input signal to T8.
Capture_INT_Mask. Set this bit to allow interrupt when
data is captured into either LO8 or HI8 upon a positive or
negative edge detection in demodulation mode.
Counter_INT_Mask. Set this bit to allow interrupt when T8
has a time out.
P34_Out. This bit defines whether P34 is used as a normal
output pin or the T8 output.
1-24
PRELIMINARY
DS97LVO0500