20
MITSUBISHI MICROCOMPUTERS
4551 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for
INFRARED REMOTE CONTROL TRANSMITTER
Table 10 Timer control registers
Prescaler control bit
Prescaler dividing ratio selection bit
Timer 1 count source selection bits
Timer control register W1
W1
3
W1
2
W1
1
W1
0
at reset : 0000
2
at power down : 0000
2
0
1
0
1
R/W
Stop (prescaler state initialized)
Operating
Instruction clock (INSTCK) divided by 4
Instruction clock (INSTCK) divided by 8
Count source
Prescaler output (ORCLK)
Carrier output (CARRY)
Carrier output divided by 2 (CARRY/2)
W1
1
0
0
1
1
W1
0
0
1
0
1
Timer control register W2
at reset : 1000
2
at power down : – – – 0
2
R/W
0
1
f(X
CIN
)
Prescaler output (ORCLK)
W2
3
W2
2
W2
1
W2
0
Timer 2 count source selection bit
Timer 2 count value selection bits
Timer 1 control bit
W2
2
0
0
1
1
W2
1
0
1
0
1
Count source
Underflow occur every 2
14
count
Underflow occur every 2
13
count
Not available
Not available
Stop (timer 1 state retained)
Operating
0
1
Timer control register W3
at reset : 00
2
at power down : state retained
R/W
0
1
0
1
Bit 3 of timer 2 is output (timer 2 count source divided by 16)
State clock (STCK)
Stop (timer LC state retained)
Operating
W3
1
W3
0
Timer LC count source selection bit
Timer LC control bit
Note: “R” represents read enabled, and “W” represents write enabled.
“–” represents state retained.
(1) Timer control registers
G
Timer control register W1
Register W1 controls the count source of timer 1, the
frequency dividing ratio and count operation of prescaler.
Set the contents of this register through register A with
the TW1A instruction. The TAW1 instruction can be used
to transfer the contents of register W1 to register A.
G
Timer control register W2
Register W2 controls the count operation of timer 1 and
count operation and count source of timer 2. Set the
contents of this register through register A with the TW2A
instruction. The TAW2 instruction can be used to transfer
the contents of register W2 to register A.
G
Timer control register W3
Register W3 controls the count operation and count source
of timer LC. Set the contents of this register through
register A with the TW3A instruction. The TAW3 instruction
can be used to transfer the contents of register W3 to
register A.