Windows Automotive 5.0/5.5
Initializes a new instance of the TristatePort class.
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
public TristatePort ( Pin portId, bool initialState, bool glitchFilter, ResistorMode resistor )
- The indentifier (ID) for the tristate port. If the port with the specified ID is already in use, an exception is thrown.
- The initial value forced on the tristate port when it is created; this value becomes effective as soon as the port is enabled as an output port.
- A Boolean value that indicates the state of the glitch filter. If true, the glitch filter is enabled; if false, the glitch filter is disabled.
- The resistor mode that establishes a default state for the port.