
S1C6P366 TECHNICAL MANUAL
EPSON
9
CHAPTER 2: POWER SUPPLY AND INITIAL RESET
Table 2.2.2.1 Initial values
Name
Data register A
Data register B
Extension register EXT
Index register X
Index register Y
Program counter
Stack pointer SP1
Stack pointer SP2
Zero flag
Carry flag
Interrupt flag
Extension flag
Queue register
CPU core
Symbol
A
B
EXT
X
Y
PC
SP1
SP2
Z
C
I
E
Q
Number of bits
4
8
16
8
1
16
Setting value
Undefined
0110H
Undefined
0
Undefined
Name
RAM
Display memory
Other pheripheral circuits
Peripheral circuits
Number of bits
4
–
Setting value
Undefined
See Section 4.1, "Memory Map".
2.2.3 Terminal settings at initial resetting
The output port (R) terminals and I/O port (P) terminals are shared with special output terminals, input/
output terminals of the serial interface and input terminals of the A/D converter. These functions are
selected by the software. At initial reset, these terminals are set to the general purpose output port
terminals and I/O port terminals. Set them according to the system in the initial routine. In addition, take
care of the initial status of output terminals when designing a system.
Table 2.2.3.1 shows the list of the shared terminal settings.
Table 2.2.3.1 List of shared terminal settings
Special output
TOUT FOUT
TOUT
FOUT
Serial I/F
Master
Slave
SIN(I)
SOUT(O) SOUT(O)
SCLK(O) SCLK(I)
SRDY(O)
Terminal
name
R00
R01
R02
R03
R10–R13
R20–R23
P00–P03
P10
P11
P12
P13
P20–P23
P30–P33
P40
P41
P42
P43
Terminal status
at initial reset
R00 (High output)
R01 (High output)
R02 (High output)
R03 (High output)
R10–R13 (High output)
R20–R23 (High output)
P00–P03 (Input & Pull-up)
P10 (Input & Pull-up)
P11 (Input & Pull-up)
P12 (Input & Pull-up)
P13 (Input & Pull-up)
P20–P23 (Input & Pull-up)
P30–P33 (Input & Pull-up)
P40 (Input & high impedance)
P41 (Input & high impedance)
P42 (Input & high impedance)
P43 (Input & high impedance)
A/D
converter
AD0(I)
AD1(I)
AD2(I)
AD3(I)
For setting procedure of the functions, see explanations for each of the peripheral circuits.