Export (0) Print
Expand All

OutputPort Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sets the value of a GPIO pin for an instance of the OutputPort class.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

public class OutputPort : Port

The OutputPort type exposes the following members.

  NameDescription
Public methodOutputPort(Cpu..::..Pin, Boolean)Initializes a new instance of the OutputPort class.
Protected methodOutputPort(Cpu..::..Pin, Boolean, Boolean, Port..::..ResistorMode)Initializes a new instance of the OutputPort class.
Top

  NameDescription
Public propertyIdGets the indentifier (ID) for a port. (Inherited from Port.)
Public propertyInitialStateGets the initial value for the output port after it is activated.
Top

  NameDescription
Public methodDisableInterruptDisables the interrupt for this NativeEventDispatcher object. (Inherited from NativeEventDispatcher.)
Public methodDispose()()()()Releases resources used by this NativeEventDispatcher object. (Inherited from NativeEventDispatcher.)
Protected methodDispose(Boolean)Disables the pin for a port and marks it as available for reuse. (Inherited from Port.)
Public methodEnableInterruptEnables the interrupt for this NativeEventDispatcher object. (Inherited from NativeEventDispatcher.)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizePerforms cleanup operations. (Inherited from NativeEventDispatcher.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadReads a Boolean value at the port input. (Inherited from Port.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteWrites a value to the port output.
Top

  NameDescription
Public eventOnInterruptAdds or removes callback methods for native events. (Inherited from NativeEventDispatcher.)
Top

  NameDescription
Protected fieldm_callbacksThe event handler for this NativeEventDispatcher object (a mulitcast combinable delegate). (Inherited from NativeEventDispatcher.)
Protected fieldm_disposedSet to true if this NativeEventDispatcher object has been disposed, or false if not. (Inherited from NativeEventDispatcher.)
Protected fieldm_threadSpawnThe event handler for this NativeEventDispatcher object (a mulitcast combinable delegate). (Inherited from NativeEventDispatcher.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft