English
Language : 

M38258MCM Datasheet, PDF (15/70 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3825 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Table 6. I/O ports functions
Pin
P00/SEG26–
P07/SEG33
Name
Port P0
P10/SEG34–
P15/SEG39
Port P1
P16 , P17
P20–P27
Port P2
P30/SEG18–
P37/SEG25
P40/f(XIN)/
f(XIN)/2,
P41/f(XIN)/5/
f(XIN)/10
P42/INT0,
P43/INT1
P44/RXD
P54/TXD
P46/SCLK
P47/SRDY
P50/INT2,
P51/INT3
P52/RTP0,
P53/RTP1
P54/CNTR0
P55/CNTR1
P56/TOUT
Port P3
Port P4
Port P5
P57/ADT
P60/AN0–
P67/AN7
P70
P71–P77
Port P6
Port P7
P80/XCOUT
P81/XCIN
COM0–COM3
Port P8
Common
Input/Output
Output
Output
Input/output,
individual bits
Input/output,
individual bits
Output
Input/output,
individual bits
Input/output,
individual bits
Input/output,
individual bits
Input
Input/output,
individual bits
Input/output,
individual bits
Output
I/O Format
CMOS 3-state output
CMOS 3-state output
CMOS compatible
input level
CMOS 3-state output
CMOS compatible
input level
CMOS 3-state output
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 3-state output
CMOS compatible
input level
CMOS compatible
input level
CMOS 3-state output
CMOS compatible
input level
CMOS 3-state output
LCD common output
Non-Port Function
LCD segment output
LCD segment output
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 output
Timer X function I/O
Timer Y function input
Timer 2 output
A-D trigger input
A-D conversion input
Sub-clock
generating circuit
Related SFRs
PULL register A
Segment output enable
register
PULL register A
Segment output enable
register
Port P1 output
control register
Diagram No.
(1)
(1)
PULL register A
(2)
PULL register A
(2)
Interrupt control register 2
PULL register A
Segment output enable
(1)
register
Clock output control
register
PULL register A
(2)
PULL register A
Interrupt edge selection
register
PULL register A
(3)
Serial I/O control register (4)
Serial I/O status register (5)
UART control register
(6)
PULL register B
Interrupt edge selection
(2)
register
PULL register B
(7)
Timer X mode register
PULL register B
Timer X mode register
(8)
PULL register B
Timer Y mode register
(9)
PULL register B
Timer 123 mode register
(8)
PULL register B
A-D control register
(9)
PULL register B
A-D control register
(10)
(11)
PULL register B
(12)
PULL register A
(13)
CPU mode register
(14)
LCD mode register
(15)
SEG0–SEG17 Segment Output
LCD segment output
(16)
Note 1: When using double-function ports as functional I/O pins, refer the method to the relevant sections.
2: 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.
15