MIOS Digital Out (MPWMSM) - Digital output via the MIOS Pulse Width Modulation Submodule (MPWMSM)

Library

Target Support Package FM5/ MPC555 Driver Library/ Modular Input/Output System (MIOS1)

Description

The MIOS Digital Out (MPWMSM) block is a device driver that lets you use the MIOS Pulse Width Modulation Submodule (MPWMSM) in digital output mode. In digital output mode, the Pulse Width Modulation (PWM) feature of the MPWMSM is turned off. When the input signal is greater than zero, a logical 1 is written to the output pin; otherwise a logical zero is written.

Refer to section 15.12, "MIOS Pulse Width Modulation Submodule (MPWMSM)," in the MPC555 User's Manual for further information on the parameters described below.

Dialog Box

MPWM submodule number

Select a PWM submodule for output. Note that modules 4, 5, 20 and 21 are for the MPC56x (561-6) only. If you select one of these modules and MPC555 is the processor selected in the Resource Configuration block, then an error will be thrown on updating the model.

Initial output level

The value to be placed on the output pins at initialization. This ensures the starting level is always known.

Sample time

Sample time of the block.

Invert output polarity

Switches the output level for logic one and zero.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS