English
Language : 

M32C8A Datasheet, PDF (301/372 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M32C/80 Series
M32C/8A Group
Input-only port (P8_5)
Data bus
NMI
Figure 22.4 Programmable I/O Ports (4)
22. Programmable I/O Ports
Port Pi Direction Register (i = 0 to 15)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PD0 to PD3
PD4 to PD7
PD8
PD9, PD10
PD11
PD12, PD13
PD14
PD15
Address
03E2h, 03E3h, 03E6h, 03E7h
03EAh, 03EBh, 03C2h, 03C3h
03C6h(4)
03C7h(1), 03CAh
03CBh(3, 4)
03CEh, 03CFh(3)
03D2h(3, 4)
03D3h(3)
After Reset
00h
00h
00X0 0000b
00h
XXX0 0000b
00h
X000 0000b
00h
Bit Symbol
Bit Name
PDi_0 Port Pi_0 direction bit
PDi_1 Port Pi_1 direction bit
PDi_2 Port Pi_2 direction bit
PDi_3 Port Pi_3 direction bit
PDi_4 Port Pi_4 direction bit
PDi_5 Port Pi_5 direction bit
PDi_6 Port Pi_6 direction bit
PDi_7 Port Pi_7 direction bit
Function
RW
0: Input mode (functions as input port)
1: Output mode (functions as output port)
RW
0: Input mode (functions as input port)
1: Output mode (functions as output port)
RW
0: Input mode (functions as input port)
1: Output mode (functions as output port)
RW
0: Input mode (functions as input port)
1: Output mode (functions as output port)
RW
0: Input mode (functions as input port)
1: Output mode (functions as output port)
RW
0: Input mode (functions as input port)
1: Output mode (functions as output port)
RW
0: Input mode (functions as input port)
1: Output mode (functions as output port)
RW
0: Input mode (functions as input port)
1: Output mode (functions as output port)
RW
NOTES:
1. Set the PD9 register immediately after the PRC2 bit in the PRCR register is set to 1 (write enable). Do not generate an interrupt
or a DMA or DMACII transfer between these two instructions.
2. In microprocessor mode, the PDi 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.
3. Set registers PD11 to PD15 to FFh in the 100-pin package.
4. Nothing is implemented to the PD8_5 bit in the PD8 register, bits PD11_7 to PD11_5 in the PD11 register, and the P14_7 bit in
the PD14 register. Write a 0. A read from these bits returns undefined value.
Figure 22.5 PD0 to PD15 Registers
Rev.1.00 Jul 15, 2007 Page 284 of 352
REJ09B0385-0100