II-82
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CHAPTER 5: PERIPHERAL CIRCUITS (I/O Ports)
I/O Ports
The S1C6S3N2 Series reserves eight bits for general-purpose
I/O ports. The I/O ports are the allocated into two lots of
four bits, P00–P03 and P10–P13, which can be set to either
input mode or output mode.
5.8
Table 5.8.1 I/O data memory map (I/O ports)
I/O port memory
map
Address
Comment
Register
D3
D2
D1
D0
Name
0
07DH
07EH
P03
P02
P01
P00
SWRUN
SWRST
IOC0
R/W
P03
P02
P01
P00
High
High
High
High
Low
Low
Low
Low
TMRST
SWRUN
SWRST
IOC0
Reset
0
Reset
0
Clock timer reset
Stopwatch counter RUN/STOP
Stopwatch counter reset
I/O control register 0 (P00–P03)
–
–
–
–
*2
*2
*2
*2
TMRST
W
R/W
W
R/W
I/O port (P00–P03)
Output latch reset at time of SR
Reset
RUN
Reset
Output
–
STOP
–
Input
0FDH
0FEH
P13
OSCC
IOC1
R
P13
P12
P11
P10
High
High
High
High
Low
Low
Low
Low
0
CLKCHG
OSCC
IOC1
Unused
CPU clock switch
OSC3 oscillator ON/OFF
I/O control register 1 (P10–P13)
R/W
–
–
–
–
*2
*2
*2
*2
R/W
I/O port (P10–P13)
Output latch reset at time of SR
P12
P11
P10
CLKCHG
OSC3
ON
Output
OSC1
OFF
Input
0
–
0
0
0
*2
SR
*1
1
*5
*5
*
1 Initial value at the time of initial reset
*
2 Not set in the circuit
*
3 Undefined
*
4 Reset (0) immediately after being read
*
5 Constantly "0" when being read
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......