Datasheet
19. Programmable I/O Ports
puorG92/C61M
page 323
854fo7002,03.raM21.1.veR
2110-1010B90JER
Figure 19.6 PD0 to PD3 and PD6 to PD10 Registers
Port Pi Direction Register (i=0 to 3, 6 to 8, and 10)
(1)
Symbol Address After Reset
PD0 to PD3
03E2
16
, 03E3
16
, 03E6
16
, 03E7
16
00
16
PD6 to PD8 03EE
16
, 03EF
16
, 03F2
16
00
16
PD10 03F6
16
00
16
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 = 0 to 3, 6 to 8, and 10)
Port P9 Direction Register
(1,2)
Symbol Address After Reset
PD9 03F316 000X0000
2
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)
0: Input mode
(Functions as an input port)
1: Output mode
(Functions as an output port)
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
PD9_5 Port P95 direction bit
RW
PD9_6 Port P96 direction bit
RW
PD9_7 Port P97 direction bit
RW
Nothing is assigned. If necessary, set to 0.
When read, the content is undefined
(b4)
NOTES:
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. Set the PACR register.
In 80-pin package, set bits PACR2, PACR1, PACR0 to 011
2.
In 64-pin package, set bits PACR2, PACR1, PACR0 to 010
2.
NOTE:
1. Set the PACR register.
In 80-pin package, set bits PACR2, PACR1, PACR0 to 011
2.
In 64-pin package, set bits PACR2, PACR1, PACR0 to 010
2.