III PERIPHERAL BLOCK: 16-BIT PROGRAMMABLE TIMERS

Register name

Address

Bit

Name

Function

 

Setting

 

Init.

R/W

Remarks

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port input 0–3,

0040290

D7

R16TC0

16-bit timer 0 comparison A

1

IDMA

 

0

 

Interrupt

0

R/W

 

high-speed

(B)

D6

R16TU0

16-bit timer 0 comparison B

 

request

 

 

 

request

0

R/W

 

DMA Ch. 0/1,

 

D5

RHDM1

High-speed DMA Ch.1

 

 

 

 

 

 

0

R/W

 

16-bit timer 0

 

D4

RHDM0

High-speed DMA Ch.0

 

 

 

 

 

 

0

R/W

 

IDMA request

 

D3

RP3

Port input 3

 

 

 

 

 

 

0

R/W

 

register

 

D2

RP2

Port input 2

 

 

 

 

 

 

0

R/W

 

 

 

D1

RP1

Port input 1

 

 

 

 

 

 

0

R/W

 

 

 

D0

RP0

Port input 0

 

 

 

 

 

 

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16-bit timer 1–4

0040291

D7

R16TC4

16-bit timer 4 comparison A

1

IDMA

 

0

 

Interrupt

0

R/W

 

IDMA request

(B)

D6

R16TU4

16-bit timer 4 comparison B

 

request

 

 

 

request

0

R/W

 

register

 

D5

R16TC3

16-bit timer 3 comparison A

 

 

 

 

 

 

0

R/W

 

 

 

D4

R16TU3

16-bit timer 3 comparison B

 

 

 

 

 

 

0

R/W

 

 

 

D3

R16TC2

16-bit timer 2 comparison A

 

 

 

 

 

 

0

R/W

 

 

 

D2

R16TU2

16-bit timer 2 comparison B

 

 

 

 

 

 

0

R/W

 

 

 

D1

R16TC1

16-bit timer 1 comparison A

 

 

 

 

 

 

0

R/W

 

 

 

D0

R16TU1

16-bit timer 1 comparison B

 

 

 

 

 

 

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16-bit timer 5,

0040292

D7

RSTX0

SIF Ch.0 transmit buffer empty

1

IDMA

 

0

 

Interrupt

0

R/W

 

8-bit timer,

(B)

D6

RSRX0

SIF Ch.0 receive buffer full

 

request

 

 

 

request

0

R/W

 

serial I/F Ch.0

 

D5

R8TU3

8-bit timer 3 underflow

 

 

 

 

 

 

0

R/W

 

IDMA request

 

D4

R8TU2

8-bit timer 2 underflow

 

 

 

 

 

 

0

R/W

 

register

 

D3

R8TU1

8-bit timer 1 underflow

 

 

 

 

 

 

0

R/W

 

 

 

D2

R8TU0

8-bit timer 0 underflow

 

 

 

 

 

 

0

R/W

 

 

 

D1

R16TC5

16-bit timer 5 comparison A

 

 

 

 

 

 

0

R/W

 

 

 

D0

R16TU5

16-bit timer 5 comparison B

 

 

 

 

 

 

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port input 0–3,

0040294

D7

DE16TC0

16-bit timer 0 comparison A

1

IDMA

 

0

 

IDMA

0

R/W

 

high-speed

(B)

D6

DE16TU0

16-bit timer 0 comparison B

 

enabled

 

 

 

disabled

0

R/W

 

DMA Ch. 0/1,

 

D5

DEHDM1

High-speed DMA Ch.1

 

 

 

 

 

 

0

R/W

 

16-bit timer 0

 

D4

DEHDM0

High-speed DMA Ch.0

 

 

 

 

 

 

0

R/W

 

IDMA enable

 

D3

DEP3

Port input 3

 

 

 

 

 

 

0

R/W

 

register

 

D2

DEP2

Port input 2

 

 

 

 

 

 

0

R/W

 

 

 

D1

DEP1

Port input 1

 

 

 

 

 

 

0

R/W

 

 

 

D0

DEP0

Port input 0

 

 

 

 

 

 

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16-bit timer 1–4

0040295

D7

DE16TC4

16-bit timer 4 comparison A

1

IDMA

 

0

 

IDMA

0

R/W

 

IDMA enable

(B)

D6

DE16TU4

16-bit timer 4 comparison B

 

enabled

 

 

 

disabled

0

R/W

 

register

 

D5

DE16TC3

16-bit timer 3 comparison A

 

 

 

 

 

 

0

R/W

 

 

 

D4

DE16TU3

16-bit timer 3 comparison B

 

 

 

 

 

 

0

R/W

 

 

 

D3

DE16TC2

16-bit timer 2 comparison A

 

 

 

 

 

 

0

R/W

 

 

 

D2

DE16TU2

16-bit timer 2 comparison B

 

 

 

 

 

 

0

R/W

 

 

 

D1

DE16TC1

16-bit timer 1 comparison A

 

 

 

 

 

 

0

R/W

 

 

 

D0

DE16TU1

16-bit timer 1 comparison B

 

 

 

 

 

 

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16-bit timer 5,

0040296

D7

DESTX0

SIF Ch.0 transmit buffer empty

1

IDMA

 

0

 

IDMA

0

R/W

 

8-bit timer,

(B)

D6

DESRX0

SIF Ch.0 receive buffer full

 

enabled

 

 

 

disabled

0

R/W

 

serial I/F Ch.0

 

D5

DE8TU3

8-bit timer 3 underflow

 

 

 

 

 

 

0

R/W

 

IDMA enable

 

D4

DE8TU2

8-bit timer 2 underflow

 

 

 

 

 

 

0

R/W

 

register

 

D3

DE8TU1

8-bit timer 1 underflow

 

 

 

 

 

 

0

R/W

 

 

 

D2

DE8TU0

8-bit timer 0 underflow

 

 

 

 

 

 

0

R/W

 

 

 

D1

DE16TC5

16-bit timer 5 comparison A

 

 

 

 

 

 

0

R/W

 

 

 

D0

DE16TU5

16-bit timer 5 comparison B

 

 

 

 

 

 

0

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P1 function

00402D4

D7

reserved

 

 

 

0 when being read.

select register

(B)

D6

CFP16

P16 function selection 1

1

EXCL5

 

0

 

P16

0

R/W

 

 

 

 

 

 

 

#DMAEND1

 

 

 

 

 

 

 

 

 

D5

CFP15

P15 function selection 1

1

EXCL4

 

0

 

P15

0

R/W

 

 

 

 

 

 

 

#DMAEND0

 

 

 

 

 

 

 

 

 

D4

CFP14

P14 function selection

1

FOSC1

 

0

 

P14

0

R/W

Extended functions

 

 

 

 

 

 

 

 

 

 

 

 

 

(0x402DF)

 

 

D3

CFP13

P13 function selection

1

EXCL3

 

0

 

P13

0

R/W

 

 

 

 

 

 

 

T8UF3

 

 

 

 

 

 

 

 

 

D2

CFP12

P12 function selection

1

EXCL2

 

0

 

P12

0

R/W

 

 

 

 

 

 

 

T8UF2

 

 

 

 

 

 

 

 

 

D1

CFP11

P11 function selection

1

EXCL1

 

0

 

P11

0

R/W

 

 

 

 

 

 

 

T8UF1

 

 

 

 

 

 

 

 

 

D0

CFP10

P10 function selection

1

EXCL0

 

0

 

P10

0

R/W

 

 

 

 

 

 

 

T8UF0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P2 function

00402D8

D7

CFP27

P27 function selection

1

TM5

 

0

 

P27

0

R/W

 

select register

(B)

D6

CFP26

P26 function selection

1

TM4

 

0

 

P26

0

R/W

 

 

 

D5

CFP25

P25 function selection

1

TM3

 

0

 

P25

0

R/W

 

 

 

D4

CFP24

P24 function selection

1

TM2

 

0

 

P24

0

R/W

 

 

 

D3

CFP23

P23 function selection

1

TM1

 

0

 

P23

0

R/W

 

 

 

D2

CFP22

P22 function selection

1

TM0

 

0

 

P22

0

R/W

 

 

 

D1

CFP21

P21 function selection

1

#DWE

 

0

 

P21

0

R/W

Ext. func.(0x402DF)

 

 

D0

CFP20

P20 function selection

1

#DRD

 

0

 

P20

0

R/W

 

S1C33210 FUNCTION PART

EPSON

B-III-4-13