Samsung C8274X Computer Hardware User Manual


 
I/O PORTS S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
9-2
PORT DATA REGISTERS
Table 9-2 gives you an overview of the register locations of all seven S3C8275X/C8278X/C8274X I/O port data
registers. Data registers for ports 0, 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 Location R/W
Port 0 data register P0 240 F0H Set 1, Bank 0 R/W
Port 1 data register P1 241 F1H Set 1, Bank 0 R/W
Port 2 data register P2 242 F2H Set 1, Bank 0 R/W
Port 3 data register P3 243 F3H Set 1, Bank 0 R/W
Port 4 data register P4 244 F4H Set 1, Bank 0 R/W
Port 5 data register P5 245 F5H Set 1, Bank 0 R/W
Port 6 data register P6 246 F6H Set 1, Bank 0 R/W
MSB
S3C8275X/C8278X/C8274X 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. S3C8275X/C8278X/C8274X I/O Port Data Register Format