English
Language : 

Z86L70 Datasheet, PDF (27/61 Pages) Zilog, Inc. – IR/Low-Voltage Microcontroller
Zilog
CTR2 (D)%02: Counter/Timer16 Control Register.
Z86L70/71/75/C71
IR/Low-Voltage Microcontroller
Field
T16_Enable
Bit Position
Value
Description
7-------
R
0*
Counter Disabled
1
1
Counter Enabled
W
0
Stop Counter
1
Enable Counter
Single/Modulo-N
-6------
R/W
Transmit Mode
0
Modulo-N
1
Single Pass
Demodulation Mode
0
T16 Recognizes Edge
1
T16 Does Not Recognize Edge
Time_Out
--5-----
R
0
No Counter Time-Out
1
Counter Time-Out Occurred
0
No Effect
1
Reset Flag to 0
T16 _Clock
---43---
R/W
00
SCLK
01
SCLK/2
10
SCLK/4
11
SCLK/8
Capture_INT_Mask
-----2--
R/W
0
Disable Data Capture Int.
1
Enable Data Capture Int.
Counter_INT_Mask
------1-
R/W
0
Disable Time-Out Int.
1
Enable Time-Out Int.
P35_Out
-------0
R/W
0
P35 as Port Output
1
T16 Output on P35
Note: * Indicates the value upon Power-On Reset
CTR2 Description
T16_Enable. This field enables T16 when set to 1.
Single/Modulo-N. In Transmit Mode, when set to 0, the
counter reloads the initial value when terminal count is
reached. When set to 1, the counter stops when the termi-
nal count is reached.
In Demodulation Mode, when set to 0 , T16 captures and
reloads on detection of all the edges; when set to 1, T16
captures and detects on the first edge, but ignores the sub-
sequent edges. For details, see the description of T16 De-
modulation Mode.
Time_Out. This bit is set when T16 times out (terminal
count reached). In order to reset it, a 1 should be written to
this location.
T16_Clock. Defines the frequency of the input signal to
Counter/Timer16.
Capture_INT_Mask. Set this bit to allow interrupt when
data is captured into LO16 and HI16.
Counter_INT_Mask. Set this bit to allow interrupt when
T16 times out.
P35_Out. This bit defines whether P35 is used as a normal
output pin or T16 output.
DS97LVO0500
PRELIMINARY
1-27