Digital Out

Digital output driver that sets logical state of specified pin

Library

Target Support Package IC1/ C166 Driver Library/ Digital Input/Output

Description

The Digital Out block sets the logical state of the specified pin according to the input signal. When the input signal is greater than zero, a logical one is written to the selected pin; otherwise a logical zero is written.

Dialog Box

Port

Select a port. Options are P0L, POH, P1L, P1H, P2P8 (not P5).

Pin

The pin must be an integer value in the range 0 to 7 for ports that are 8 bits wide, or 0 to 15 for ports that are 16 bits wide.

Sample time

The time interval between samples. The default is -1, inherited. See "Specifying Sample Time" in the Simulink® documentation for more information.

  


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