Datasheet

Table Of Contents
16. Programmable I/O Ports
page 223
923fo7002,51.beF00.2.veR
0020-2020B90JER
)T62/C61M,B62/C61M,A62/C61M(puorGA62/C61M
Figure 16.1.1. PD1, PD6, PD7, PD8, PD9, and PD10 Registers
Port Pi direction register (i=6 to 8, and 10) (1)
Symbol Address After reset
PD6 to PD8 03EE
16, 03EF16, 03F216 0016
PD10 03F616 0016
Bit name FunctionBit symbol RW
b7 b6 b5 b4 b3 b2 b1 b0
PDi_0 Port Pi0 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
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
(i = 6 to 8, and 10)
RW
RW
RW
RW
RW
RW
RW
RW
Port P1 direction register (1)
Symbol
Address After reset
PD1 03E316 0016
Bit name FunctionBit symbol
b7 b6 b5 b4 b3 b2 b1 b0
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
RW
PD1_5 Port P15 direction bit
RW
PD1_6 Port P16 direction bit
RW
PD1_7 Port P17 direction bit
RW
Nothing is assigned. In an attempt to write to this bit, write 0.
The value, if read, turns out to be indeterminate.
(b4-b0)
Port P9 direction register (1,2)
Symbol
Address After reset
PD9 03F316 XXXX00002
Bit name FunctionBit symbol
b7 b6 b5 b4 b3 b2 b1 b0
PD9_0 Port P90 direction bit
PD9_1 Port P9
1 direction bit
PD9_2 Port P9
2 direction bit
PD9_3 Port P9
3 direction bit
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
RW
RW
RW
RW
RW
Nothing is assigned. In an attempt to write to this bit, write 0.
The value, if read, turns out to be indeterminate.
(B7-b4)
NOTE:
1. Ports must be enabled using the PACR register.
In 48-pin package, set PACR2, PACR1, PACR0 to "100
2
"
In 42-pin package, set PACR2, PACR1, PACR0 to "001
2
"
NOTE:
1. Ports must be enabled using the PACR register.
In 48-pin package, set PACR2, PACR1, PACR0 to "100
2
"
In 42-pin package, set PACR2, PACR1, PACR0 to "001
2
"
NOTE:
1. Make sure the PD9 register is written to by the next instruction after setting the PRC2 bit in the PRCR
register to "1" (write enabled).
2. Ports must be enabled using the PACR register.