0X5201/0X5211/0X5221/0X5231: Px Port Output Data Registers (Px_Out) - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

10 INPUT/OUTPUT PORT (P)

0x5201/0x5211/0x5221/0x5231: Px Port Output Data Registers (Px_OUT)

Register name Address
Bit
P0 Port Output
0x5201
D7–0 P0OUT[7:0] P0[7:0] port output data
Data Register
(8 bits)
(P0_OUT)
P1 Port Output
0x5211
D7–0 P1OUT[7:0] P1[7:0] port output data
Data Register
(8 bits)
(P1_OUT)
P2 Port Output
0x5221
D7–0 P2OUT[7:0] P2[7:0] port output data
Data Register
(8 bits)
(P2_OUT)
P3 Port Output
0x5231
D7–4 –
Data Register
(8 bits)
D3–0 P3OUT[3:0] P3[3:0] port output data
(P3_OUT)
Note: The "x" in the bit names indicates the port number (0 to 3).
D[7:0]
PxOUT[7:0]: Px[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)
PxOUT[7:0] correspond directly to the Px[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.
94
Name
Function
reserved
EPSON
Setting
Init. R/W
1 1 (H)
0 0 (L)
1 1 (H)
0 0 (L)
1 1 (H)
0 0 (L)
1 1 (H)
0 0 (L)
S1C17001 TECHNICAL MANUAL
Remarks
0
R/W
0
R/W
0
R/W
0 when being read.
0
R/W

Advertisement

Table of Contents
loading

Table of Contents