Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

MPL PATI Digital Input

MPL PATI Digital Input block

Library

Simulink® Real-Time™ Library for MPL

General Description

The individual bits of the MPL PATI digital input are in different registers. As a result, you cannot read multiple bits at the same time. Use a separate MPL PATI Digital Input block to read each bit.

    Note:   To execute a model using this block, you must first write MPL boot code on the EEPROM using the MPL PATI EEPROM Write block. To flash the EEPROM with the boot code, add the EEPROM Write block to an empty model and build and execute that model. You can then execute the actual model. See MPL PATI EEPROM Write block for further information.

Block Parameters

Channel

From the list, select from 1 to 32. This is the single TPU channel that this block reads.

Channel priority

From the list, select Low, Medium, or High priority. This changes the order that individual timers are serviced. See the MPC555 TPU documentation for more information.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

PCI slot

If only one board of this type is in the target computer, enter -1 to locate the board.

If two or more boards of this type are in the target computer, enter the bus number and the PCI slot number of the board associated with this driver block. Use the format [BusNumber,SlotNumber]. To determine the bus number and the PCI slot number, type:

tg = slrt;
getPCIInfo(tg, 'installed')

See Also

External Websites

Was this topic helpful?