![](http://datasheet.mmic.net.cn/30000/M38197MA-XXXKP_datasheet_2360287/M38197MA-XXXKP_18.png)
4
3819 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
Reset input pin for active “L”
VCC, VSS
PIN DESCRIPTION
Pin
Name
Function
Function except a port function
Power source
Apply voltage of 4.0 to 5.5 V to VCC, and 0 V to VSS.
Applies voltage supplied to pull-down resistors of ports P0, P1, P20–P23, P3, and P9.
Reference voltage input pin for A-D converter and D-A converter
GND input pin for A-D converter and D-A converter
Connect AVSS to VSS.
Input and output pins for the main clock generating circuit
Feedback resistor is built in between XIN pin and XOUT pin.
Connect a ceramic resonator or a quartz-crystal oscillator between the XIN pin and XOUT pin to
set oscillation frequency.
If an external clock is used, connect the clock source to the XIN pin and leave the XOUT pin
open.
This clock is used as the oscillating source of system clock.
8-bit output port
This port builds in pull-down resistor between
port P0 and the VEE pin.
At reset this port is set to VEE level.
The high-breakdown-voltage P-channel
open-drain
VEE
VREF
AVSS
RESET
XIN
XOUT
P00/SEG32/
DIG0–P07/
SEG39/DIG7
P10/SEG40/
DIG8–P17/
DIG15
P20/DIG16–
P23/DIG19
P24–P27
8-bit output port with the same function as
port P0
4-bit output port with the same function as
port P0
4-bit I/O port
I/O direction register allows each pin to be individually programmed as either input or output.
At reset this port is set to input mode.
TTL input level
CMOS 3-state output
P30/SEG24–
P37/SEG31
P40/INT0,
P45/INT1/
ZCR
P42/INT2–
P44/INT4
P41
P46/T1OUT,
P47/T3OUT
Pull-down
Power source
Analog reference
voltage
Reset input
Analog power source
Clock input
Clock output
Output port P0
Output port P1
Output port P2
I/O port P2
Output port P3
Input port P4
I/O port P4
8-bit output port with the same function as
port P0
2-bit input port
CMOS compatible input level
6-bit CMOS I/O port with the same function
as ports P24–P27
CMOS compatible input level
CMOS 3-state output
FLD automatic display pins
External interrupt input pins
A zero cross detection circuit input pin (P45)
Timer output pins