![](http://datasheet.mmic.net.cn/120000/M30833MJFP_datasheet_3558608/M30833MJFP_316.png)
Under
development
Preliminary Specifications REV.B3
Specifications in this manual are tentative and subject to change.
Mitsubishi Microcomputers
M32C/83 group
SINGLE-CHIP 16/32-BIT CMOS MICROCOMPUTER
Programmable I/O Port
315
NMI
Data bus
Input-only port
Function
Port Pi direction register (Note 1, 2, 3)
Bit name
Bit
Symbol
Address
When reset
PDi(i=0 to 5)
03E216, 03E316, 03E616, 03E716, 03EA16, 03EB16
0016
PDi(i=6 to 11)
03C216, 03C316, 03C616, 03C716, 03CA16, 03CB16
0016
PDi(i=12 to 15)
03CE16, 03CF16, 03D216, 03D316
0016
RW
PDi_0
PDi_1
PDi_2
Port Pi0 direction
register
PDi_3
PDi_4
PDi_5
PDi_7
PDi_6
0 : Input mode (Functions as an input port)
1 : Output mode (Functions as an output port)
Port Pi1 direction
register
Port Pi2 direction
register
Port Pi3 direction
register
Port Pi4 direction
register
Port Pi5 direction
register
Port Pi6 direction
register
Port Pi7 direction
register
0 : Input mode (Functions as an input port)
1 : Output mode (Functions as an output port)
0 : Input mode (Functions as an input port)
1 : Output mode (Functions as an output port)
0 : Input mode (Functions as an input port)
1 : Output mode (Functions as an output port)
0 : Input mode (Functions as an input port)
1 : Output mode (Functions as an output port)
0 : Input mode (Functions as an input port)
1 : Output mode (Functions as an output port)
0 : Input mode (Functions as an input port)
1 : Output mode (Functions as an output port)
0 : Input mode (Functions as an input port)
1 : Output mode (Functions as an output port)
(Note 4)
Note 1: Set bit 2 of protect register (address 000A16) to "1" before rewriting to the port P9 direction register.
Note 2: In memory expansion and microprocessor mode, the contents of corresponding port direction register
of pins A0 to A22, A23, D0 to D15, MA0 to MA12, CS0 to CS3, WRL/WR/CASL, WRH/BHE/CASH,
RD/DW, BCLK/ALE/CLKOUT, HLDA/ALE, HOLD, ALE/RAS, and RDY are not changed.
Note 3: Port 11 to 15 registers exist in 144-pin version.
Note 4: Nothing is assigned in bit5 of Port P8 direction register, bit7 to bit5 of port P11 direction register and
bit7 of port P14 direction register.
When write, set to "0". When read, its content is indeterminate.
(Note 4)
b7
b6
b5
b4
b3
b2
b1
b0
Figure 1.29.4. Programmable I/O ports (4)
Figure 1.29.5. Direction register