English
Language : 

M306H7MG-XXXFP Datasheet, PDF (258/329 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER
M306H7MG-XXXFP/MC-XXXFP/FGFP
15. PROGRAMMABLE I/O PORTS
Port Pi direction register (i=0 to 7 and 9) (Note 1, 2)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PD0 to PD3
PD4 to PD7
PD9
Address
03E216, 03E316, 03E616, 03E716
03EA16, 03EB16, 03EE16, 03EF16
03F316
After reset
0016
0016
0016
Bit symbol
PDi_0
PDi_1
PDi_2
PDi_3
PDi_4
PDi_5
PDi_6
PDi_7
Bit name
Port Pi0 direction bit
Port Pi1 direction bit
Port Pi2 direction bit
Port Pi3 direction bit
Port Pi4 direction bit
Port Pi5 direction bit
Port Pi6 direction bit
Port Pi7 direction bit
Function
RW
RW
0 : Input mode
(Functions as an input port)
RW
1 : Output mode
RW
(Functions as an output port) RW
(i = 0 to 7 and 9)
RW
RW
RW
RW
Note 1: Make sure the PD9 register is written to by the next instruction after setting the PRCR
register’s PRC2 bit to “1” (write enabled).
Port P8 direction register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PD8
Address
03F216
After reset
00X000002
Bit symbol
Bit name
Function
RW
PD8_0
PD8_1
PD8_2
PD8_3
Port P80 direction bit
Port P81 direction bit
Port P82 direction bit
Port P83 direction bit
RW
0 : Input mode
(Functions as an input port)
RW
1 : Output mode
RW
(Functions as an output port) RW
PD8_4
Port P84 direction bit
RW
Nothing is assigned. In an attempt to write to this bit, write “0”.
(b5)
The value, if read, turns out to be indeterminate.
PD8_6
PD8_7
Port P86 direction bit
Port P87 direction bit
0 : Input mode
(Functions as an input port)
RW
1 : Output mode
(Functions as an output port) RW
Reserved register
b7 b6 b5 b4 b3 b2 b1 b0
11 11 11 11
Symbol
RSV03F6
Address
03F616
Bit symbol
(b7-b0)
Bit name
Reserved bits
Function
Must set to "1."
After reset
0016
RW
RW
Figure 15.7 PD0 to PD9 Registers
Rev.2.10 Oct 25, 2006 Page 258 of 326
REJ03B0152-0210