Port1 control register – Samsung S3F401F User Manual

Page 158

Advertising
background image

S3F401F_UM_REV1.00

I/O

PORTS

8-9

PORT1 Control Register

PCON1H (0x008)

Access: Read/Write

31 30

29 28 27 26 25 24

P1.30[29:28]

P1.29[27:26]

P1.28[25:24]

R/W-0 R/W-0

R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0

23 22

21 20 19 18 17 16

P1.27[23:22]

P1.26[21:20]

P1.25[19:18]

P1.24[17:16]

R/W-0 R/W-0

R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0

15 14

13 12 11 10 9 8

P1.23 [15:14]

P1.22[13:12]

P1.21[11:10]

P1.20[9:8]

R/W-0 R/W-0

R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0

7 6

5 4 3 2 1 0

P1.19 [7:6]

P1.18 [5:4]

P1.17 [3:2]

P1.16 [1:0]

R/W-0 R/W-0

R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0

W: Write

R: Read

-0: 0 After reset

-1: 1 After reset

-U: Undefined after reset

P1.16 PORT

1.16

00 = Input Mode

General IO port

Schmitt-trigger

01 = Output Mode

General IO port

10 = SSPFSS0

SSP0 Selection output port

11 = INT16

Interrupt input port

P1.17 PORT

1.17

00 = Input Mode

General IO port

Schmitt-trigger

01 = Output Mode

General IO port

10 = SSPTXD1

SSP1 data output port

11 = INT17

Interrupt input port

P1.18 PORT

1.18

00 = Input Mode

General IO port

Schmitt-trigger

01 = Output Mode

General IO port

10 = SSPRXD1

SSP1 data input port

11 = INT18

Interrupt input port

P1.19 PORT

1.19

00 = Input Mode

General IO port

Schmitt-trigger

01 = Output Mode

General IO port

10 = SSPCLK1

SSP1 Clock input port

11 = INT19

Interrupt input port

Advertising