OneWire Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents the OneWire implementation.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.Hardware..::..OneWire
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware.OneWire (in Microsoft.SPOT.Hardware.OneWire.dll)
Syntax
'Declaration
Public NotInheritable Class OneWire
public sealed class OneWire
public ref class OneWire sealed
[<Sealed>]
type OneWire = class end
public final class OneWire
The OneWire type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OneWire | Initializes a new instance of the OneWire class. |
Top
Methods
Name | Description | |
---|---|---|
AcquireEx | Attempts to acquire the OneWire net. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
FindAllDevices | Retrieves a collection of serial numbers for all devices. | |
FindFirstDevice | Retrieves the first device. | |
FindNextDevice | Retrieves the next device. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ReadByte | Reads a byte from the OneWire device. | |
Release | ||
SerialNum | Retrieves the serial number. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TouchBit | ||
TouchByte | ||
TouchReset | ||
WriteByte | Writes a byte to the OneWire device. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.