S1C6S3N2 TECHNICAL SOFTWARE
EPSON
II-59
CHAPTER 5: PERIPHERAL CIRCUITS (Clock Timer)
(1) Initializing clock timer
This program resets the clock timer.
(2) Reading the clock timer
This program reads the clock timer data into A register.
A register
D3
D2
D1
D0
TM3
TM2
TM1
TM0
LD
X,7EH
;
OR
MX,1000B
;
Reset the clock timer
1. When the clock timer has been reset, the interrupt factor
flag (TI) may sometimes be set to "1".
2. The watchdog timer may be counted up at the clock timer
reset.
3. Resetting the clock timer does not affect the stopwatch
counter.
LD
X,70H
;
LD
A,MX
;
Load the clock timer data into A register
Example of using
clock timer
Specifications
Fig. 5.6.1
Correspondence between
clock timer and A register
Program
Notes
Program
Specifications
Содержание S1C6S3N2
Страница 4: ......
Страница 6: ......
Страница 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Страница 8: ......
Страница 141: ...Software Software S1C6S3N2 II Technical Software ...
Страница 142: ......
Страница 146: ......