English
Language : 

M16C6S_09 Datasheet, PDF (143/208 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/6S Group
Programmable I/O Ports
Port Pi direction register (i=1, 4 to 7 and 9) (Note 1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
PD1
PD4 to PD7
PD9
Address
03E316
(Note 2)
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 to 13)
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).
Note 2: Set PD1_0 and PD1_1 bits to “0.”
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
Figure 1.18.6. PD1, PD4 to PD9 Registers
Rev.5.01 Dec 10, 2009 page 143 of 201
REJ03B0014-0501