![](http://datasheet.mmic.net.cn/30000/M38223E4-XXXHP_datasheet_2360327/M38223E4-XXXHP_29.png)
1-14
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3822 Group
Note : Make sure that the input level at each pin is either 0 V or VCC during execution of the STP instruction.
When an input level is at an intermediate potential, a current will flow from VCC to VSS through the input-stage gate.
Input/Output
Input/output,
individual ports
Input/output,
individual ports
Input/output,
individual bits
Input
Input/output,
individual bits
output
Related SFRs
PULL register A
Segment output
enable register
PULL register A
Segment output
enable register
PULL register A
Interrupt control
register 2
PULL register A
Segment output
enable register
PULL register B
φ output control
register
PULL register B
Interrupt edge selection
register
PULL register B
Serial I/O control register
Serial I/O status register
UART control register
PULL register B
Interrupt edge selection
register
PULL register B
Timer X mode register
PULL register B
Timer X mode register
PULL register B
Timer Y mode register
PULL register B
Timer 123 mode register
PULL register B
A-D control register
PULL register A
CPU mode register
LCD mode register
Segment output
enable register
Pin
P00/SEG16–
P07/SEG23
P10/SEG24–
P17/SEG31
P20 – P27
P34/SEG12–
P37/SEG15
P40
P41/
φ
P42/INT0,
P43/INT1
P44/RXD
P45/TXD
P46/SCLK1
P47/SRDY
P50/INT2,
P51/INT3
P52/RTP0,
P53/RTP1
P54/CNTR0
P55/CNTR1
P56/TOUT
P57/ADT
P60/AN0–
P67/AN7
P70/XCOUT
P71/XCIN
COM0-COM3
SEG0-SEG11
Name
Port P0
Port P1
Port P2
Port P3
Port P4
Port P5
Port P6
Port P7
Common
Segment
I/O Format
CMOS compatible
input level
CMOS 3-state output
CMOS compatible
input level
CMOS 3-state output
CMOS compatible
input level
CMOS 3-state output
CMOS compatible
input level
CMOS compatible
input level
CMOS 3-state output
LCD common output
LCD segment output
Non-Port Function
LCD segment output
Key input(Key-on
wake up) interrupt
input
LCD segment output
φ clock output
External interrupt input
Serial I/O function I/O
External interrupt input
Real time port function
oputput
Timer I/O
Timer output
A-D trigger input
A-D conversion input
Sub-clock
generating circuit I/O
Diagram No.
(1)
(2)
(3)
(4)
(5)
(2)
(6)
(7)
(8)
(9)
(2)
(10)
(11)
(12)
(13)
(12)
(14)
(15)
(16)
(17)
(18)