10 INPUT/OUTPUT PORT (P)
S1C17001 TECHNICAL MANUAL
EPSON
93
0x5200/0x5210/0x5220/0x5230: P
x
Port Input Data Registers (P
x
_IN)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
P0 Port Input
Data Register
(P0_IN)
0x5200
(8 bits)
D7–0
P0IN[7:0]
P0[7:0] port input data
1 1 (H)
0 0 (L)
×
R
P1 Port Input
Data Register
(P1_IN)
0x5210
(8 bits)
D7–0
P1IN[7:0]
P1[7:0] port input data
1 1 (H)
0 0 (L)
×
R
P2 Port Input
Data Register
(P2_IN)
0x5220
(8 bits)
D7–0
P2IN[7:0]
P2[7:0] port input data
1 1 (H)
0 0 (L)
×
R
P3 Port Input
Data Register
(P3_IN)
0x5230
(8 bits)
D7–4
–
reserved
–
–
–
0 when being read.
D3–0
P3IN[3:0]
P3[3:0] port input data
1 1 (H)
0 0 (L)
×
R
Note: The “
x
” in the bit names indicates the port number (0 to 3).
D[7:0] P
x
IN[7:0]: P
x
[7:0] Port Input Data Bits (P3 port is P3IN[3:0])
Read out the P port pin status. (Default: external pin status)
1(R):
High level
0(R):
Low level
P
x
IN[7:0] correspond directly to the P
x
[7:0] pins and read the pin voltage level regardless of input/out-
put mode. 1 is read when the pin voltage is High; 0 is read when the voltage is Low.
Writing operations to the read-only P
x
IN[7:0] are disabled.
Summary of Contents for S1C17001
Page 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Page 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...