10 INPUT/OUTPUT PORT (P)
S1C17001 TECHNICAL MANUAL
EPSON
95
0x5202/0x5212/0x5222/0x5232: P
x
Port I/O Direction Control Registers (P
x
_IO)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
P0 Port
I/O Direction
Control Register
(P0_IO)
0x5202
(8 bits)
D7–0
P0IO[7:0]
P0[7:0] port I/O direction select
1 Output
0 Input
0
R/W
P1 Port
I/O Direction
Control Register
(P1_IO)
0x5212
(8 bits)
D7–0
P1IO[7:0]
P1[7:0] port I/O direction select
1 Output
0 Input
0
R/W
P2 Port
I/O Direction
Control Register
(P2_IO)
0x5222
(8 bits)
D7–0
P2IO[7:0]
P2[7:0] port I/O direction select
1 Output
0 Input
0
R/W
P3 Port
I/O Direction
Control Register
(P3_IO)
0x5232
(8 bits)
D7–4
–
reserved
–
–
–
0 when being read.
D3–0
P3IO[3:0]
P3[3:0] port I/O direction select
1 Output
0 Input
0
R/W
Note: The “
x
” in the bit names indicates the port number (0 to 3).
D[7:0] P
x
IO[7:0]: P
x
[7:0] Port I/O Direction Select Bits (P3 port is P3IN[3:0])
Set the input/output mode for the input/output port.
1(R/W): Output mode
0(R/W): Input mode (default)
P
x
IO[7:0] are the input/output direction selection bits corresponding directly to the P
x
[7:0] ports. Set-
ting to 1 selects output mode, while setting to 0 selects input mode. The peripheral module function
determines the input/output direction for when a pin is used for peripheral modules.
Содержание 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 ...