EM78P809N

8-Bit Microcontroller

4.9 Timer/Counter 2

Registers for Timer/Counter 2 Circuit

R_BANK Address

NAME Bit 7 Bit 6 Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

BANK 1

0X08

TC2CR

ADD1

ADD0

0

 

TC2M

 

TC2S

TC2CK2

TC2CK1

TC2CK0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R

R

--

 

R/W

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

BANK 1

0X09

TC2DH

TC2D15

TC2D14

TC2D13

 

TC2D12

TC2D11

TC2D10

TC2D9

TC2D8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R/W

R/W

R/W

 

R/W

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

BANK 1

0X0A

TC2DL

TC2D7

TC2D6

TC2D5

 

TC2D4

TC2D3

TC2D2

TC2D1

TC2D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R/W

R/W

R/W

 

R/W

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

BANK 0

0x0E

ISFR1

EXIF5

TCIF2

ADIF

0

 

EXIF3

TCIF4

SPIF

TCIF3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R/W

R/W

R/W

--

 

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

SFR

0x0B

INTCR

INT1NR

INT0EN

0

 

INT3ES1

INT3ES0

0

INT1ES

TC2ES

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R/W

R/W

 

 

R/W

R/W

 

R/W

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

SFR

0x0E

IMR1

EXIE5

TCIE2

ADIE

0

 

EXIE3

TCIE4

SPIE

TCIE3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R/W

R/W

R/W

--

 

R/W

R/W

R/W

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

TC2 Pin

TC2ES

M

fc/223 fc/213

fc/28 MUX fc/23

fc

Window

16-bit Up-counter

Clear

Comparator TC2

Interrupt

TC2CK 3

TC2S

TC2CR

TCR2H

TCR2L

Fig 19. Configuration of Timer/Counter 2

40

Product Specification (V1.0) 07.26.2005

(This specification is subject to change without further notice)

Page 44
Image 44
IBM EM78P809N manual Registers for Timer/Counter 2 Circuit, Rbank Address Name Bit 7 Bit 6 Bit