61
Bit 5—Reserved: Always read as 1 and cannot be written to. Although not used at present, the
reserved bit may be used in the future. When writing to TCSR, write 0 into bit 5.
Bit 4—Halt Flag (HLT): Controls operation of all the on-chip functions. When the HLT bit is
set to 1, all the on-chip functions stop. The HLT bit is set to 1 when a TCNT underflow occurs
while UDF = 1, or 1 is written to the EWE bit while UDF = 1, or 1 is written to the EWE bit while
EWE = 1.
Bit 4: HLT
Description
0
Normal operation
(Initial value)
1
All the on-chip functions stop operating. Operation returns from halt state when
a low-level signal is input to the RES pin.
Bits 3 and 2—Reserved: Always read as 1 and cannot be written to. Although not used at
present, the reserved bits may be used in the future. When writing to TCSR, write 0 into bits 3 and
2.
Bits 1 and 0—Clock Select 1 and 0 (CS1 and CS0): Select one from four clock sources
obtained by dividing the CLK pin input, as the input to TCNT.
Bit 1: CS1
Bit 0: CS0
Description
0
0
CLK/32
(Initial value)
1
CLK/64
1
0
CLK/128
1
CLK/256
5.2.3
Timer Counter Write Address (TCWA)
TCWA has four address bits and one control bit, which are readable and writable. Bits 3 to 1
cannot be written to.
TCWA is initialized to H'FF at reset, but not reset in sleep mode. TCWA can be written to only
once when 0 is written to the WAD bit at the same time, and before TCSR is written to. Once
written to, TCWA cannot be written to again until the chip is reset by a low-level input to the
RES
pin.
Bit:
7
6
5
4
3
2
1
0
IA15
IA14
IA13
IA12
—
—
—
WAD
Initial value:
1
1
1
1
1
1
1
1
Read/Write:
R/W
R/W
R/W
R/W
R
R
R
R/W