English
Language : 

M32C8A Datasheet, PDF (302/372 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M32C/80 Series
M32C/8A Group
22. Programmable I/O Ports
Port Pi Register (1, 2) (i = 0 to 15)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
P0 to P5
P6 to P10
P11 to P15
Address
03E0h, 03E1h, 03E4h, 03E5h, 03E8h, 03E9h
03C0h, 03C1h(3), 03C4h(4), 03C5h, 03C8h
03C9h(5), 03CCh, 03CDh, 03D0h(5), 03D1h
After Reset
Undefined
Undefined
Undefined
Bit Symbol
Bit Name
Pi_0
Port Pi_0 bit
Pi_1
Port Pi_1 bit
Pi_2
Port Pi_2 bit
Pi_3
Port Pi_3 bit
Pi_4
Port Pi_4 bit
Function
RW
Input mode
(The PDi_j bit (j = 0 to 7) in the PDi register = 0) RW
Read: Return the pin level.
Write: Write to the port latch.
RW
Output mode
(The PDi_j bit in the PDi register = 1)
Read: Return the port latch value.
Write: Write to the port latch and the port latch
RW
value is output from the pin.
0: "L" level
RW
1: "H" level
RW
Pi_5
Port Pi_5 bit
RW
Pi_6
Port Pi_6 bit
RW
Pi_7
Port Pi_7 bit
RW
NOTES:
1. In microprocessor mode, the Pi register corresponding to the following bus control pins cannot be written: A0 to A22, A23, D0 to
D15, CS0 to CS3, WRL/ WR, WRH/BHE, RD, BCLK/ALE/CLKOUT, ALE, ALE, RDY.
2. Ports P11 to P15 are provided in the 144-pin package only.
3. P7_0 and P7_1 are N-channel open drain output ports. The pins are placed into high-impedance states when the corresponding
bits to P7_0 and P7_1 are set to 1.
4. The P8_5 bit is a read-only bit.
5. Nothing is implemented to bits P11_5 to P11_7 in the P11 register and the P14_7 bit in the P14 register. Write a 0. A read from
these bits returns undefined value.
Figure 22.6 P0 to P15 Registers
Rev.1.00 Jul 15, 2007 Page 285 of 352
REJ09B0385-0100