EM78P809N
8-Bit Microcontroller
•
•
PORT9 − Port 9 I/O Data Register ( Address: 09h )
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
P97
P96
P95
P94
P93
P92
P91
P90
Bit 7 ~ Bit 0 ( P97 ~ P90 ) : 8-bit Port 97 ~ Port 90 I/O data register
User can use IOC9 register to define each bit whether input or output.
TC4CR — Timer/Counter 4 Control Register ( Address: 0Bh )
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TC4FF1
TC4FF0
TC4S
TC4CK2 TC4CK1 TC4CK0
TC4M1
TC4M0
Bit 7 ~ Bit 6 ( TC4FF1 ~ TC4FF0 ) : Timer/Counter4 flip-flop control.
TC4FF1
TC4FF0
Operating Mode
0
0
1
1
0
1
0
1
Clear
Toggle
Set
Reserved
Bit 5 ( TC4S ) : Timer/Counter 4 start control.
TC4S = “0” : Stop and clear counter
TC4S = “1” : Start
Bit 4 ~ Bit 2 ( TC4CK2 ~ TC4CK 0 ) : Timer/Counter 4 Clock Source Select
Clock Source
( Normal, Idle )
Resolution
( Fosc=8M )
Max. Time
TC4CK2 TC4CK1 TC4CK0
( Fosc=8M )
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Fc/2^11
250uS
16uS
4uS
64mS
4mS
Fc/2^7
Fc/2^5
1mS
Fc/2^3
1uS
255uS
127.5uS
63.8uS
31.9uS
--
Fc/2^2
500nS
250nS
125nS
--
Fc/2^1
Fc
External clock (TC4 pin)
Bit 1 ~ Bit 0 ( TC4M1 ~ TC4M0 ) : Timer/Counter 4 Operating Mode Select
TC4M1
TC4M0
Operating Mode
0
0
1
1
0
1
0
1
Timer/Counter
Reserved
Programmable Divider output
Pulse Width Modulation output
Product Specification (V1.0) 07.26.2005
• 11
(This specification is subject to change without further notice)