Embedded Target for Motorola MPC555    
MIOS Digital In

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

Library

Embedded Target for Motorola MPC555

Description

The MIOS Digital In block reads 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 output of the block is a wide vector representing the logic state of the pins referenced in the Bits field. When the signal on a given pin is a logical 1, the block output element will be equal to 1; otherwise the block output element will equal zero.

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.
Sample time
Sample time of the block.
Enable pass through (show simulation input)
Lets you provide a signal to this block for use in simulation. When this option is enabled, an inport 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.

  CAN Message Unpacking (CANdb) MIOS Digital Out