EM78P312N
8-Bit Microcontroller
Product Specification
(V1.0) 10.03.2006
•
35
(This specification is subject to change without further notice)
5.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
ADD1 ADD0 0
TC2M TC2S
TC2CK2
TC2CK1
TC2CK0
Bank 1
0X08
TC2CR
R R --
R/W R/W R/W R/W R/W
TC2D15 TC2D14 TC2D13 TC2D12 TC2D11 TC2D10 TC2D9 TC2D8
Bank 1
0X09
TC2DH
R/W R/W R/W R/W R/W R/W R/W R/W
TC2D7 TC2D6 TC2D5 TC2D4 TC2D3 TC2D2 TC2D1 TC2D0
Bank 1
0X0A
TC2DL
R/W R/W R/W R/W R/W R/W R/W R/W
EXIF5
TCIF2
ADIF 0 EXIF3 TCIF4 SPIF TCIF3
Bank 0
0x0E
ISFR1
R/W
R/W
R/W -- R/W
R/W
R/W
R/W
INT1NR INT0EN
0
INT3ES1 INT3ES0
0
INT1ES
TC2ES
SFR 0x0B
INTCR
R/W
R/W R/W
R/W R/W
R/W
EXIE5
TCIE2
ADIE 0 EXIE3 TCIE4 SPIE TCIE3
SFR 0x0E
IMR1
R/W
R/W
R/W -- R/W
R/W
R/W
R/W
16-bit Up-counter
Comparator
TCR2H
TC2CR
M
TC2ES
TC2
Pin
TC2CK
TC2S
3
TC2
Interrupt
TCR2L
fc/2
23
fc/2
13
fc/2
8
Clear
Window
MUX
fc/2
3
fc
Fig. 5-18 Configuration of Timer/Counter 2