EM78P312N
8-Bit Microcontroller
Bit 4 ~ Bit 2 ( TC4CK2 ~ TC4CK 0 )
: Timer/Counter 4 Clock Source Select
TC4CK2
0
0
0
0
1
1
1
1
TC4CK1
0
0
1
1
0
0
1
1
TC4CK0
0
1
0
1
0
1
0
1
Clock Source
( Normal, Idle )
Fc/2
11
7
5
3
2
1
Resolution
( Fosc=8M )
256μS
16μS
4μS
1μS
500nS
250nS
125nS
−
Max. Time
( Fosc=8M )
65mS
4mS
1mS
255μS
127.5μS
63.8μS
31.9μS
−
Fc/2
Fc/2
Fc/2
Fc/2
Fc/2
Fc
External clock (TC4 pin)
Bit 1 ~ Bit 0 ( TC4M1 ~ TC4M0 ) :
Timer/Counter 4 Operating Mode Select
TC4M1
0
0
1
1
TC4M0
0
1
0
1
Operating Mode
Timer/Counter
Reserved
Programmable Divider output
Pulse Width Modulation output
RC (Timer 4 Data Buffer)
Bit 7
TC4D7
Bit 6
TC4D6
Bit 5
TC4D5
Bit 4
TC4D4
Bit 3
TC4D3
Bit 2
TC4D2
Bit 1
TC4D1
Bit 0
TC4D0
Bit 7 ~ Bit 0 ( TC4D7 ~ TC4D0 ) :
Data buffer of 8-bit Timer/Counter 4.
RD (Interrupt Status Flag Register 0 and INT3 Edge Detect Flag)
Bit 7
0
Bit 6
0
Bit 5
INT3F
Bit 4
INT3R
Bit 3
0
Bit 2
0
Bit 1
WDTIF
Bit 0
EXIF0
Bit 5 ( INT3F ) :
External Interrupt 3 falling edge detect flag.
INT3F = “0” :
Falling edge is not detected
INT3F = “1” :
Falling edge is detected
Bit 4 ( INT3R ) :
External Interrupt 3 rising edge detect flag.
INT3R = “0” :
Rising edge is not detected
INT3R = “1” :
Rising edge is detected
Bit 1 ( WDTIF ) :
WDT time-out flag, flag cleared by software.
Bit 0 ( EXIF0 ) :
External interrupt flag (INT0). Flag cleared by software. If the INT0EN
is reset to “0”, the flag is cleared.
Product Specification (V1.0) 10.03.2006
(This specification is subject to change without further notice)
•
9