English
Language : 

MC68HC11KW1 Datasheet, PDF (123/238 Pages) Motorola, Inc – High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
6.9
Port J
Port J is an 8-bit, bidirectional port, with both data and data direction registers. In addition to their
I/O capabilities, five of port J’s pins are shared with Timer 2 functions, as shown in the following
table.
Pin
Alternative
function
PJ7
C4

PJ6
OC3

PJ5
PJ4
OC2
OC1
 See Section 9 for


more information.

PJ3
ECIN

6.9.1 PORTJ — Port J data register
6
Port J data (PORTJ)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$008E PJ7 PJ6 PJ5 PJ4 PJ3 PJ2 PJ1 PJ0 undefined
This is a read/write register and is not affected by reset. These bits may be read and written at any
time, but, when a pin is allocated to its alternate function, a write to the corresponding register bit
has no effect on the pin state.
6.9.2 DDRJ — Data direction register for port J
Data direction J (DDRJ)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$008F DDJ7 DDJ6 DDJ5 DDJ4 DDJ3 DDJ2 DDJ1 DDJ0 0000 0000
DDJ[7:0] — Data direction for port J
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-11