MEMORY MAPKS57C2308/P2308/C2316/P2316

PMG2 — Port I/O Mode Flags (Group 2: Port 2, 4, 5, and 7)

FEDH, FECH

Bit

Identifier

RESET Value

Read/Write

Bit Addressing

PM7

.6

PM5

PM4

.3

PM2

.1–.0

7

6

5

4

3

2

1

0

PM7

“0”

PM5

PM4

“0”

PM2

“0”

“0”

 

 

 

 

 

 

 

 

0

0

0

0

0

0

0

0

W

W

W

W

W

W

W

W

8

8

8

8

8

8

8

8

P7 I/O Mode Selection Flag

0Set P7 to input mode

1Set P7 to output mode

Bit 6

0 Always logic zero

P5 I/O Mode Selection Flag

0Set P5 to input mode

1Set P5 to output mode

P4 I/O Mode Selection Flag

0Set P4 to input mode

1Set P4 to output mode

Bit 3

0 Always logic zero

P2 I/O Mode Selection Flag

0Set P2 to input mode

1Set P2 to output mode

Bits 1–0

0 Always logic zero

4-22

Page 64
Image 64
Samsung KS57C2308 manual PMG2 Port I/O Mode Flags Group 2 Port 2, 4, 5, FEDH, Fech, PM7 PM5 PM4 PM2