Embedded Target for Motorola MPC555    
MIOS Digital Out

Output driver for MIOS 16-bit Parallel Port I/O Submodule (MPIOSM)

Library

Embedded Target for Motorola MPC555

Description

The MIOS Digital Out block sets the state of selected pins (bits) on the MIOS 16-bit Parallel Port I/O Submodule (MPIOSM) of the MPC555. The Bits field specifies a vector of numbers in the range 0..15, corresponding to pins MPIO32B0..MPIO32B15 on the MPIOSM.

The input to the block is a wide vector with one signal element per pin. When the input signal is greater than zero, a logical 1 is written to the corresponding pin. When the input signal is less than or equal to zero, a logical zero is written to the corresponding pin.

If you want to write to several digital output pins at the same sample rate, using a single MIOS Digital Out block with a vector input signal will result in more efficient code. However, if you want to update different output pins at different sample rates, you must use a separate MIOS Digital Out block for each rate.

Refer to section 15.13, "MIOS 16-bit Parallel Port I/O Sub module (MPIOSM)," in the MPC555 Users Manual for further information.

Dialog Box

Bits
A vector of numbers in the range 0..15. Each number corresponds to a pin (MPIO32B0..MPIO32B15) on the MPIOSM.
Enable pass through (show simulation input)
Lets you provide a signal from this block for use in simulation. When this option is enabled, an outport appears on the block. The block input is passed through, to the output during simulation. (See Data Type Support and Scaling for Device Driver Blocks for information on supported input/output data types and scaling of input/output signals.) This option affects simulation only.

  MIOS Digital In MIOS Digital Out (MPWMSM)