Rev. 5.00, 09/03, page 577 of 760
Bit (2n + 1) Bit 2n
PGnMD1 PGnMD0 Pin Function
0 0 Other function (n = 1–3, 5) (see table 18.1)
(Initial value) (ASEMD0 = 0)
0 1 Reserved
1 0 Port input (Pull-up MOS: on) (Initial value) (ASEMD0 = 1)
1 1 Port input (Pull-up MOS: off)
(n = 1 to 3, 5)
Bit (2n + 1) Bit 2n
PGnMD1 PGnMD0 Pin Function
0 0 Other function (n = 4, 6, 7) (see table 18.1)
0 1 Reserved
1 0 Port input (Pull-up MOS: on) (Initial value)
*
1 1 Port input (Pull-up MOS: off)
(n = 4, 6, 7)
Note: * When n = 6, ASEMD0/PTG6 functions as ASEMD0 input while the reset signal is
asserted, and as PTG6 input immediately after the reset signal is nagated.
Bit 3 Bit 0
PG1MD1
*
PG0MD0 Pin Function
0 0 Other function (see table 18.1) (Initial value) ASEMD0 = 0
0 1 Reserved
1 0 Port input (Pull-up MOS: on) (Initial value) ASEMD0 = 1
1 1 Port input (Pull-up MOS: off)
Note: * Controlled by PG1MD1 (bit 3), not PG0MD1 (bit 1).
18.3.8 Port H Control Register (PHCR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PH7
MD1
PH7
MD0
PH6
MD1
PH6
MD0
PH5
MD1
PH5
MD0
PH4
MD1
PH4
MD0
PH3
MD1
PH3
MD0
PH2
MD1
PH2
MD0
PH1
MD1
PH1
MD0
PH0
MD1
PH0
MD0
Initial value:101/00101010101010
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
The port H control register (PHCR) is a 16-bit readable/writable register that selects the pin
functions. PHCR is initialized to H'AAAA (ASEMD0 = 1) or H'8AAA (ASEMD0 = 0) by a
power-on reset, but is not initialized by a manual reset, in standby mode, or in sleep mode.