0X5001: Clock Timer Counter Register (Ct_Cnt) - Epson S1C17704 Technical Manual

Cmos 16-bit single chip microcomputer
Table of Contents

Advertisement

0x5001: Clock Timer Counter Register (CT_CNT)

Register name Address
Bit
Clock Timer
0x5001
D7–0 CTCNT[7:0] Clock timer counter value
Counter Register
(8 bits)
(CT_CNT)
D[7:0]
CTCNT[7:0]: Clock Timer Counter Value
The counter data can be read from this register. (Default: 0xff)
This is a read-only register, so the writing operation is invalid.
Each bit corresponds to the frequency as follows:
D7: 1 Hz
D6: 2 Hz
D5: 4 Hz
D4: 8 Hz
D3: 16 Hz
D2: 32 Hz
D1: 64 Hz
D0: 128 Hz
Note: If this register is read while the counter is running, the read value may not represent the current
counter value (an indefinite value may be read out).
The counter value should be obtained by one of the following procedures:
• Read the counter value after stopping the counter.
• Read the counter value twice to determine that both read results are the same and that the
read value is significant.
S1C17704 TECHNICAL MANUAL
Name
Function
EPSON
15 CLOCK TIMER (CT)
Setting
Init. R/W
0x0 to 0xff
0
R
Remarks
15-9

Advertisement

Table of Contents
loading

Table of Contents