I/O PORTS

S3C9228/P9228

 

 

PORT DATA REGISTERS

Table 9-2 gives you an overview of the register locations of all seven S3C9228 I/O port data registers. Data registers for ports 1, 2, 3, 4, 5, and 6 have the general format shown in Figure 9-1.

Table 9-2. Port Data Register Summary

Register Name

Mnemonic

Decimal

Hex

R/W

 

 

 

 

 

Port 0 data register

P0

228

E4H

R/W

 

 

 

 

 

Port 1 data register

P1

229

E5H

R/W

 

 

 

 

 

Port 2 data register

P2

230

E6H

R/W

 

 

 

 

 

Port 3 data register

P3

231

E7H

R/W

 

 

 

 

 

Port 4 data register

P4

232

E8H

R/W

 

 

 

 

 

Port 5 data register

P5

233

E9H

R/W

 

 

 

 

 

Port 6 data register

P6

234

EAH

R/W

 

 

 

 

 

MSB

S3C9228 I/O Port Data Register Format (n = 0-6)

.7

.6

.5

.4

.3

.2

.1

.0

 

 

 

 

 

 

 

 

LSB

Pn.7 Pn.6 Pn.5 Pn.4 Pn.3 Pn.2 Pn.1 Pn.0

Figure 9-1. S3C9228 I/O Port Data Register Format

9-2

Page 162
Image 162
Samsung S3C9228/P9228, 8-Bit CMOS Microcontroller user manual Port Data Registers, S3C9228 I/O Port Data Register Format