English
Language : 

MC68HC11KW1 Datasheet, PDF (119/238 Pages) Motorola, Inc – High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
6.6
Port F
Port F is an 8-bit bidirectional port, with both data and data direction registers. In addition to their
I/O capability, port F pins are used as the non-multiplexed low order address pins, as shown in the
following table.
Pin
Alternative
function
PF0 ADDR0

PF1 ADDR1


In expanded or test
PF2 ADDR2
PF3 ADDR3
PF4 ADDR4



mode, the pins
become the low



order address and
port F is not
PF5 ADDR5
PF6 ADDR6
PF7 ADDR7



included in the
memory map.


6
The state of the pins on reset is mode dependent. In single chip or bootstrap mode, port F pins
are high-impedance inputs with selectable internal pull-up resistors (see Section 6.11). In
expanded or test modes, port F pins are low order address outputs and PORTF/DDRF are not in
the memory map.
6.6.1 PORTF — Port F data register
Port F data (PORTF)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0005 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0 undefined
The bits may be read and written at any time and are not affected by reset.
6.6.2 DDRF — Data direction register for port F
Data direction F (DDRF)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0003 DDF7 DDF6 DDF5 DDF4 DDF3 DDF2 DDF1 DDF0 0000 0000
DDF[7:0] — Data direction for port F
1 (set) – The corresponding pin is configured as an output.
0 (clear) – The corresponding pin is configured as an input.
MC68HC11KW1
PARALLEL INPUT/OUTPUT
6-7