10 INPUT/OUTPUT PORT (P)
94
EPSON
S1C17001 TECHNICAL MANUAL
0x5201/0x5211/0x5221/0x5231: P
x
Port Output Data Registers (P
x
_OUT)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
P0 Port Output
Data Register
(P0_OUT)
0x5201
(8 bits)
D7–0
P0OUT[7:0]
P0[7:0] port output data
1 1 (H)
0 0 (L)
0
R/W
P1 Port Output
Data Register
(P1_OUT)
0x5211
(8 bits)
D7–0
P1OUT[7:0]
P1[7:0] port output data
1 1 (H)
0 0 (L)
0
R/W
P2 Port Output
Data Register
(P2_OUT)
0x5221
(8 bits)
D7–0
P2OUT[7:0]
P2[7:0] port output data
1 1 (H)
0 0 (L)
0
R/W
P3 Port Output
Data Register
(P3_OUT)
0x5231
(8 bits)
D7–4
–
reserved
–
–
–
0 when being read.
D3–0
P3OUT[3:0]
P3[3:0] port output data
1 1 (H)
0 0 (L)
0
R/W
Note: The “
x
” in the bit names indicates the port number (0 to 3).
D[7:0] P
x
OUT[7:0]: P
x
[7:0] Port Output Data Bits (P3 port is P3OUT[3:0])
Set the data to be output from the port pin.
1(R/W): High level
0(R/W): Low level (default)
P
x
OUT[7:0] correspond directly to the P
x
[7:0] pins and output data from the port pin as written. Setting
the data bit to 1 sets the port pin to High; setting it to 0 sets it to Low.
Port data can also be written in input mode.
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 ...