Epson S1C6200A Specifications Page 171

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 170
S1C62N82 TECHNICAL SOFTWARE EPSON II-15
CHAPTER 2: INITIAL RESET
The above program is a basic initialization program for the
S1C62N82. The setting data are all initialized as shown in
Table 2.1.1 by executing this program. When using this
program, add setting items necessary for each specific
application. (Figure 2.2.1 is the flow chart for this program.)
Fig. 2.2.1
Flow chart of the initialization
program
Initialization
Reset
I (Interrupt flag)
D (Decimal adjustment flag)
Clear RAM
Set SP
Reset timer,
stopwatch timer
Enable timer interrupt
Enable input interrupt
Reset registers (X, Y, A, B)
flags (I, Z, D, C)
EI (enable interrupt)
I:
D:
Clear data RAM (00H to 08FH)
Clear segment RAM (90H to 0DFH)
Set stack pointer to 90H
Enable timer interrupt 2 Hz, 8 Hz, 32 Hz
Enable K03–K00 input port interrupt
To next process
Interrupt flag
Decimal adjustment flag
Page view 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 267 268

Comments to this Manuals

No comments