zlf645e0s2832g ZiLOG Semiconductor, zlf645e0s2832g Datasheet - Page 123

no-image

zlf645e0s2832g

Manufacturer Part Number
zlf645e0s2832g
Description
Crimzon Infrared Microcontrollers Zlf645 Series Flash Mcus With Learning Amplification
Manufacturer
ZiLOG Semiconductor
Datasheet
Table 58. Timer 8 and Timer 16 Common Functions Register (CTR1)
PS026407-0408
Bit
Field
Reset
R/W
Address
Bit Position
[7:0]
[6]
Note:
T8 and T16 Common Functions Register
Mode
R/W
7
0
Value
The T8 and T16 Common Functions register (CTR1) controls the functions in common
with Timer 8 and Timer 16.
Be careful to differentiate TRANSMIT mode from DEMODULATION mode, as set by
CTR1[7]. The functions of CTR1[6:0] and CTR2[6] are different depending on which
mode is selected. Do not change from one mode to another without first disabling the
counter/timers.
0
1
0
1
0
1
Demodulator
P36 Out/
Input
R/W
Description
Mode —Selects the timer mode for signal transmission or demodulation.
TRANSMIT mode.
DEMODULATION mode.
TRANSMIT Mode
P36 Out—Select normal I/O or timer output on Port 3, Pin 6.
P36 acts as normal I/O port output.
P36 acts as combined Timer 8/Timer 16 output.
DEMODULATION Mode
Demodulator Input—Select Port 2, Pin 0 or Port 3, Pin 1 as the counter/timer
input.
P31 acts as the demodulator input. If IMR[2] = 1, a P31 event can also generate
an IRQ1 interrupt. To prevent this, clear IMR[2] or select P20 as input instead.
P20 acts as the demodulator input.
6
0
T8/T16 Logic/
R/W
Edge Detect
5
0
Table 58
R/W
Bank D: 01h; Linear: D01h
4
0
Transmit Submode/
R/W
describes the bits for this register.
3
0
Glitch Filter
R/W
2
0
Initial Timer 8
Rising Edge
ZLF645 Series Flash MCUs
R/W
Out/
1
0
Product Specification
Counter/Timer Registers
Initial Timer 16 Out/
Falling Edge
R/W
0
0
115

Related parts for zlf645e0s2832g