Rev. 5.00, 09/03, page 575 of 760
18.3.6 Port F Control Register (PFCR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PF7
MD1
PF7
MD0
PF6
MD1
PF6
MD0
PF5
MD1
PF5
MD0
PF4
MD1
PF4
MD0
PF3
MD1
PF3
MD0
PF2
MD1
PF2
MD0
PF1
MD1
PF1
MD0
PF0
MD1
PF0
MD0
Initial value:1/001/001/001/0010101010
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 F control register (PFCR) is a 16-bit readable/writable register that selects the pin
functions. PFCR is initialized to H'AAAA (ASEMD0 = 1) or H'00AA (ASEMD0 = 0) by a power-
on reset, but is not initialized by a manual reset, in standby mode, or in sleep mode.
Bits 15 and 14—PF7 Mode 1 and 0 (PF7MD1, PF7MD0)
Bits 13 and 12—PF6 Mode 1 and 0 (PF6MD1, PF6MD0)
Bits 11 and 10—PF5 Mode 1 and 0 (PF5MD1, PF5MD0)
Bits 9 and 8—PF4 Mode 1 and 0 (PF4MD1, PF4MD0)
Bits 7 and 6—PF3 Mode 1 and 0 (PF3MD1, PF3MD0)
Bits 5 and 4—PF2 Mode 1 and 0 (PF2MD1, PF2MD0)
Bits 3 and 2—PF1 Mode 1 and 0 (PF1MD1, PF1MD0)
Bits 1 and 0—PF0 Mode 1 and 0 (PF0MD1, PF0MD0)
These bits select the pin functions and perform input pull-up MOS control.
Bit (2n + 1) Bit 2n
PFnMD1 PFnMD0 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)
(n = 4 to 7)
Bit (2n + 1) Bit 2n
PFnMD1 PFnMD0 Pin Function
0 0 Other function (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 = 0 to 3)