10 I/O PORTS (P)
10-12
EPSON
S1C17704 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 letter ‘
x
’ in bit names, etc., denotes a port number from 0 to 3.
D[7:0] P
x
OUT[7:0]: P
x
[7:0] Port Output Data Bits
(P3OUT[3:0] for the P3 ports)
These bits are used to set data to be output from I/O-port pins.
1 (R/W): High level
0 (R/W): Low level (default)
The
P
x
OUT[7:0] bits correspond to the P
x
[7:0] ports respectively and the data written to the register
is directly output from the I/O port pin. If the data written to the port is 1, the port pin goes high; if the
data is 0, the port pin goes low.
Even in input mode, data can be written to the port data register.
Содержание S1C17704
Страница 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Страница 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...