beautypg.com

Spt71–spt70, Spt61–spt60, Spt51–spt50 – Epson S1C33210 User Manual

Page 381: Spt41–spt40, Spt31–spt30, Spt21–spt20, Spt11–spt10, Spt01–spt00, Select an input pin for port interrupt generation

background image

III PERIPHERAL BLOCK: INPUT/OUTPUT PORTS

S1C33210 FUNCTION PART

EPSON

B-III-9-19

Name

Address

Register name

Bit

Function

Setting

Init.

R/W

Remarks

SPPK11

SPPK10

SPPK01

SPPK00

D7–4

D3

D2

D1

D0

reserved

FPK1 interrupt input port selection

FPK0 interrupt input port selection

0

0

0

0

R/W

R/W

0 when being read.

00402CA

(B)

Key input

interrupt select

register

11

10

01

00

P2[7:4] P0[5:4] CP[3:0] K6[3:0]

11

10

01

00

P2[4:0] P0[4:0] K6[3:0]

CP0

K5[2:0]

CP4

SCPK04

SCPK03

SCPK02

SCPK01

SCPK00

D7–5

D4

D3

D2

D1

D0

reserved

FPK04 input comparison

FPK03 input comparison

FPK02 input comparison

FPK01 input comparison

FPK00 input comparison

0

0

0

0

0

R/W

R/W

R/W

R/W

R/W

0 when being read.

00402CC

(B)

1 High

0 Low

Key input

interrupt

(FPK0) input

comparison

register

SCPK13

SCPK12

SCPK11

SCPK10

D7–4

D3

D2

D1

D0

reserved

FPK13 input comparison

FPK12 input comparison

FPK11 input comparison

FPK10 input comparison

0

0

0

0

R/W

R/W

R/W

R/W

0 when being read.

00402CD

(B)

1 High

0 Low

Key input

interrupt

(FPK1) input

comparison

register

SMPK04

SMPK03

SMPK02

SMPK01

SMPK00

D7–5

D4

D3

D2

D1

D0

reserved

FPK04 input mask

FPK03 input mask

FPK02 input mask

FPK01 input mask

FPK00 input mask

0

0

0

0

0

R/W

R/W

R/W

R/W

R/W

0 when being read.

00402CE

(B)

1 Interrupt

enabled

0 Interrupt

disabled

Key input

interrupt

(FPK0) input

mask register

SMPK13

SMPK12

SMPK11

SMPK10

D7–4

D3

D2

D1

D0

reserved

FPK13 input mask

FPK12 input mask

FPK11 input mask

FPK10 input mask

0

0

0

0

R/W

R/W

R/W

R/W

0 when being read.

00402CF

(B)

1 Interrupt

enabled

0 Interrupt

disabled

Key input

interrupt

(FPK1) input

mask register

SPT71–SPT70:

FPT7 interrupt input port selection (D[7:6]) / Port input interrupt select register 2 (0x402C7)

SPT61–SPT60:

FPT6 interrupt input port selection (D[5:4]) / Port input interrupt select register 2 (0x402C7)

SPT51–SPT50:

FPT5 interrupt input port selection (D[3:2]) / Port input interrupt select register 2 (0x402C7)

SPT41–SPT40:

FPT4 interrupt input port selection (D[1:0]) / Port input interrupt select register 2 (0x402C7)

SPT31–SPT30:

FPT3 interrupt input port selection (D[7:6]) / Port input interrupt select register 1 (0x402C6)

SPT21–SPT20:

FPT2 interrupt input port selection (D[5:4]) / Port input interrupt select register 1 (0x402C6)

SPT11–SPT10:

FPT1 interrupt input port selection (D[3:2]) / Port input interrupt select register 1 (0x402C6)

SPT01–SPT00:

FPT0 interrupt input port selection (D[1:0]) / Port input interrupt select register 1 (0x402C6)

Select an input pin for port interrupt generation.

Table 9.11 Selecting Pins for Port Input Interrupts

Interrupt

SPT settings

system

11

10

01

00

FPT7

P27

P33

CP3

FPT6

P26

P32

CP2

FPT5

P25

P05

P31

CP1

FPT4

P24

P04

CP0

FPT3

P23

P03

CP4

K63

FPT2

P22

P02

K52

K62

FPT1

P21

P01

K51

K61

FPT0

P20

P00

K50

K60

At cold start, SPT is set to "00". At hot start, SPT retains its state from prior to the initial reset.