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.
Содержание S1C17001
Страница 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Страница 31: ...3 MEMORY MAP AND BUS CONTROL 22 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 185: ...14 8 BIT OSC1 TIMER T8OSC1 176 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 297: ...21 REMOTE CONTROLLER REMC 288 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 303: ...22 ON CHIP DEBUGGER DBG 294 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...