MPC555
/
MPC556
MODULAR INPUT/OUTPUT SUBSYSTEM (MIOS1)
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
15-30
15.13 MIOS 16-bit Parallel Port I/O Submodule (MPIOSM)
An MIOS 16-bit parallel port I/O submodule (MPIOSM) can handle up to 16 input/out-
put pins. Its control register is composed of two 16-bit registers: the data register (DR)
and the data direction register (DDR). Each pin of the MPIOSM may be programmed
as an input or an output under software control. The direction of a pin is determined by
the state of the corresponding bit in the DDR.
Figure 15-7 MPIOSM One-Bit Block Diagram
Refer to
for the MPIOSM relative I/O pin implementation.
15.13.1 MIOS 16-bit Parallel Port I/O Submodule (MPIOSM) Registers
One set of registers is associated with the MPIOSM submodule. The base addresses
of the submodules are given in the table below.
15.13.1.1 MPIOSM Data Register (MPIOSMDR)
This read/write register defines the value to be driven to the pad in output mode, for
each implemented I/O pin of the MPIOSM.
Table 15-25 MPIOSM Address Map
Address
Register
0x30 6100
MPIOSM Data Register (MPIOSMDR)
See
0x30 6102
MPIOSM Data Direction Register (MPIOSMDDR)
See
0x30 6104
Reserved
0x30 6106
Reserved
I/O
PIN
DATA
REGISTER
DATA
REGISTER
Output
Input
Driver
DIRECTION
MI
OB
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
.
..