EM78P417N/418N/419N
8-Bit Microprocessor with OTP ROM
5.2 EM78P418NP/M Pin Description
Symbol
Pin No. Type
Function
VDD
16
18
–
I
Power supply
■ XTAL type Crystal input terminal or external clock input pin
■ RC type: RC oscillator input pin
OSCI
■ XTAL type: Output terminal for crystal oscillator or external clock
input pin
■ RC type:
Clock output with a duration of one instruction cycle
time. The prescaler is determined by the CONT
register.
OSCO
17
O
■ External clock signal input
■ General-purpose I/O pin
11,13~15
17 ~ 20,
P50 ~ P57
P60 ~ P67
I/O
I/O
■ Default value at power-on reset
■ General-purpose I/O pin
2 ~ 4,
6 ~ 10
■ Default value at power-on reset
■ General-purpose I/O pin
P70
1
I/O
■ Default value at power-on reset
INT
11
I
I
■ External interrupt pin triggered by falling edge
2 ~ 4,
■ Analog to Digital Converter
ADC0~ADC7
6 ~ 10
■ Defined by ADCON (R9)<0:2>
PWM1,
PWM2,
PWM3
■ Pulse width modulation outputs
13, 14, 15
15
O
I
■ Defined by PWMCON (IOC80)<5:7>
■ External reference voltage for ADC
■ Defined by ADCON (R9)<7>
VREF
■ “–“ –> the input pin of Vin– of the comparator
■ “+” –> the input pin of Vin+ of the comparator
■ Pin CO is the output of the comparator
■ Defined by CMPCON (IOCA0) <0:1>
CIN-,
CIN+,
CO
I
I
20,
1,
2
O
■ General-purpose Input only
■ If it remains at logic low, the device will be reset
■ Wake-up from sleep mode when pin status changes
■ Voltage on /RESET must not exceed Vdd during normal mode
/RESET
12
I
■ Real time clock/counter with Schmitt trigger input pin. It must be
tied to VDD or VSS if not in use.
TCC
VSS
19
5
I
–
Ground.
6 •
Product Specification (V1.0) 06.23.2005
(This specification is subject to change without further notice)