English
Language : 

Z86C72 Datasheet, PDF (38/71 Pages) Zilog, Inc. – IR MICROCONTROLLER
Z86C72/C92/L72/L92
IR Microcontroller
FUNCTIONAL DESCRIPTION (Continued)
CTR2 (D)H02: Counter/Timer16 Control Register.
Zilog
Field
T16_Enable
Single/Modulo-N
Bit Position
7-------
R
W
-6------
R/W
Time_Out
T16 _Clock
--5-----
R
W
---43---
R/W
Capture_INT_Mask
-----2--
R/W
Counter_INT_Mask
------1-
R/W
P35_Out
-------0
R/W
Notes: * 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.
Value
0*
1
0
1
0
1
0
1
0
1
0
1
00
01
10
11
0
0
1
0*
1
Description
Counter Disabled
Counter Enabled
Stop Counter
Enable Counter
Transmit Mode
Modulo-N
Single Pass
Demodulation Mode
T16 Recognizes Edge
T16 Does Not Recognize Edge
No Counter Time-Out
Counter Time-Out Occurred
No Effect
Reset Flag to 0
SCLK
SCLK/2
SCLK/4
SCLK/8
Disable Data Capture Int.
Enable Data Capture Int.
Disable Time-Out Int.
Enable Time-Out Int.
P35 as Port Output
T16 Output on P35
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.
6-38
PRELIMINARY
DS97LVO0900