Port Pi Direction Register (Pdi) (I = 0 To 10) - Renesas M16C/64A Series User Manual

Table of Contents

Advertisement

M16C/64A Group
13.3.6

Port Pi Direction Register (PDi) (i = 0 to 10)

Port Pi Direction Register (i = 0 to 10)
b7 b6 b5 b4
b3
b2
b1
Write to the PD9 register in the next instruction after setting the PRC2 bit in the PRCR register to 1
(write enabled).
Select whether I/O ports are to be used for input or output by the PDi register. Each bit in the PDi
register has a corresponding port.
In memory expansion mode or microprocessor mode, the PDi register for the pins functioning as bus
control pins (A0 to A19, D0 to D15, CS0 to CS3 , RD , WRL / WR , WRH / BHE , ALE, RDY , HOLD , HLDA ,
and BCLK) cannot be modified (writing a value has no effect).
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
b0
Symbol
PD0 to PD3
PD4 to PD7
PD8 to PD10
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
Address
03E2h, 03E3h, 03E6h, 03E7h
03EAh, 03EBh, 03EEh, 03EFh
03F2h, 03F3h, 03F6h
Function
0 : Input mode
(functions as an input port)
1 : Output mode
(functions as an output port)
13. Programmable I/O Ports
Reset Value
00h
00h
00h
RW
RW
RW
RW
RW
RW
RW
RW
RW
Page 184 of 800

Advertisement

Table of Contents
loading

Table of Contents