PinValue Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a value for a pin.
public readonly struct PinValue : IEquatable<System.Device.Gpio.PinValue>
type PinValue = struct
Public Structure PinValue
Implements IEquatable(Of PinValue)
- Inheritance
-
PinValue
- Implements
Properties
High |
The value of the pin is high. |
Low |
The value of the pin is low. |
Methods
Equals(Object) | Indicates whether this instance and a specified object are equal. |
Equals(PinValue) |
Returns true if the other instance represents the same PinValue than this. |
GetHashCode() | Returns the hash code for this instance. |
ToString() |
Returns "Low" for Low and "High" for High |
Operators
Equality(PinValue, PinValue) |
Equality operator |
Explicit(PinValue to Boolean) | |
Explicit(PinValue to Byte) | |
Explicit(PinValue to Int32) | |
Implicit(Boolean to PinValue) |
Implicit conversion from bool. |
Implicit(Int32 to PinValue) |
Implicit conversion from int. 0 means Low, everything else means High. |
Inequality(PinValue, PinValue) |
Inequality operator |
LogicalNot(PinValue) |
Returns the inverse of the value |