| Target Support Package™ FM5 | ![]() |
Input driver for MIOS 16-bit Parallel Port I/O Submodule (MPIOSM)
Target Support Package FM5/ MPC555 Driver Library/ Modular Input/Output System (MIOS1)

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 User's Manual for further information.
Note You are responsible for ensuring that pin assignments of MIOS Digital In and MIOS Digital Out blocks in your model do not conflict. No error checking is performed to detect conditions where the same pin is referenced by both an input and an output block. If such a condition occurs, the behavior of the system is undefined. |

A vector of numbers in the range 0..15. Each number corresponds to a pin (MPIO32B0..MPIO32B15) on the MPIOSM.
Sample time of the block.
![]() | CAN Calibration Protocol (MPC555) | MIOS Digital Out | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |