EM78P311N
8-Bit Microcontroller
4 Pin Description
Table 1
Symbol
Pin No.
Type
Function
VDD
28
−
Power supply
Crystal type: Crystal input terminal
RC type: RC oscillator input pin
OSCI
2
I
I/O
I
Crystal type: Output terminal for crystal oscillator
RC type: Instruction clock output
External clock signal input
OSCO
/RESET
1
Input pin with Schmitt Trigger. If this pin remains at logic low, the
controller will also remain in reset condition.
27
8-bit bidiectional input/output pins.
P60 can be used as external Interrupt 0 (/INT0).
P61 can be used as external Interrupt 1 (INT1).
P62 can be used as 16-bit Timer/Counter 2 (TC2).
P63 can be used as divider output (/TONE).
P64 slave mode enable (/SS).
P60~P67
19~26
I/O
P60 ~ P63 can be used as pull-high or pull-low pins.
8-bit bidiectional input/output pins.
P70 can be used as SPI serial clock input/output (/SCK)
P71 can be used as SPI serial data input (SI) or UART data receive
input (RX)
P70~P73
15~18
I/O
P72 can be used as SPI serial data output (SO) or UART data
transmit output (TX)
P73 can be used as Sleep mode release input (/SLEEP) or external
interrupt input 5 (/INT5)
P70 ~ P73 can be used as pull-high or pull-low pins
2-bit bidiectional input/output pins.
P80 can be used as 8-bit Timer/Counter 3 (TC3) or external
Interrupt Input 3 (INT3).
P80~P81
P90~P97
12~13
4~11
I/O
I/O
P81 can be used as 8-bit Timer/Counter 4 (TC4) or programmable
divider output (PDO).
P80 ~ P81 can be used as pull-high or pull-low pins.
8-bit bidiectional input/output pins.
P90~P97 can be used as 8 channel 10-bit resolution A/D converter.
P97 can be used as AD reference power supply input (VREF).
VSS
NC
14
3
−
−
Ground
No connection
OTP Programming Pins
VPP
27
1
I
Programming voltage input
ACLK
DATAIN
DINCK
PGMB
OEB
I
CLK for OTP memory address increment
ROM code series input and series output pin
ROM code input clock
25
26
24
23
I/O
I
I
I
Program write enable pin. Active low.
Output enable pin. Active low.
2 •
Product Specification (V1.0) 10.02.2006
(This specification is subject to change without further notice)