
MOTOROLA
MC68341 USER’S MANUAL
9- 11
QILR
$804
15
14
13
12
11
10
9
8
0
ILQSPI
RSVD
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
RESET:
00000000
ILQSPI—Interrupt Level for QSPI
ILQSPI determines the priority level of all QSPI interrupts. This field should be
programmed to a value between $0 (interrupts disabled) to $7 (highest priority).
9.4.2.4 QSPM INTERRUPT VECTOR REGISTER (QIVR). At reset, QIVR is initialized to
$0F, which corresponds to the uninitialized interrupt vector in the exception table. This
vector is selected until QIVR is written. QIVR should be programmed to one of the user-
defined vectors ($40-$FF) during initialization of the QSPM.
After initialization, QIVR determines which vector in the exception vector table is to be
used for QSPM interrupts. The value of INTV0 used during an IACK cycle is supplied by
the bus interface unit (BIU). During an IACK, INTV7–INTV1 are driven on the DATA7–
DATA1 IMB lines. The BIU drives DATA0 with a one for a QSPI interrupt. Writes to INTV0
have no meaning or effect. Reads of INTV0 return a value of one.
QIVR
$805
15
76543210
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
INTV
RESET:
00001111
9.4.3 QSPM Pin Control Registers
Table 9-5 identifies the three pin control registers of the QSPM. The QSPM determines
the use of five pins, which form a parallel port. Although these pins are used by the serial
subsystems, any pin may alternately be assigned as general-purpose I/O on a pin-by-pin
basis. For use of these pins as general-purpose I/O, they must not be assigned to the
QSPI submodule in register QPAR. To avoid briefly driving incorrect data, the first byte to
be output should be written before register QDDR is configured for any output pins. QDDR
should then be written to determine the direction of data flow on the pins and to output the
value contained in register QPDR for all pins defined as outputs. Subsequent data for
output is then written to QPDR.
Table 9-5. QSPM Pin Control Registers
Address
Name
Usage
$815
QPDR
QSPM Port Data Register
$816
QPAR
QSPM Pin Assignment
Register
$817
QDDR
QSPM Data Direction Register
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.