C# Class Rinsen.IoT.OneWire.DS2482_100

Inheritance: IDisposable
Afficher le fichier Open project: Rinsen/OneWire Class Usage Examples

Méthodes publiques

Méthode Description
DS2482_100 ( Windows.Devices.I2c.I2cDevice i2cDevice ) : System
Dispose ( ) : void
EnableStrongPullup ( ) : void
OneWireFamilySkipSetup ( ) : void

Setup the search to skip the current device type on the next call to OWNext().

OneWireFirst ( ) : bool

Find the 'first' devices on the 1-Wire bus

OneWireReadBit ( ) : bool

Read 1 bit of data from the 1-Wire bus

OneWireReadByte ( ) : byte

Read 1 bit of data from the 1-Wire bus

OneWireReset ( ) : bool

Reset the 1-Wire bus and return the presence of any device

OneWireSearch ( ) : bool

Perform the 1-Wire Search Algorithm on the 1-Wire bus using the existing search state.

OneWireTargetSetup ( byte family_code ) : void

Setup the search to find the device type 'family_code' on the next call to OWNext() if it is present.

OneWireVerify ( ) : bool

Verify the device with the ROM number in ROM_NO buffer is present.

OneWireWriteBit ( bool bit_value ) : void

Send 1 bit of data to teh 1-Wire bus

OneWireWriteByte ( byte byte_value ) : void

Send 8 bits of data to the 1-Wire bus

OnoWireNext ( ) : bool

Find the 'next' devices on the 1-Wire bus

ReadStatus ( bool setReadPointerToStatus = false ) : byte

Read status byte from DS2482_100

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
WaitForOneWireReady ( ) : void
docrc8 ( byte value ) : byte

Method Details

DS2482_100() public méthode

public DS2482_100 ( Windows.Devices.I2c.I2cDevice i2cDevice ) : System
i2cDevice Windows.Devices.I2c.I2cDevice
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EnableStrongPullup() public méthode

public EnableStrongPullup ( ) : void
Résultat void

OneWireFamilySkipSetup() public méthode

Setup the search to skip the current device type on the next call to OWNext().
public OneWireFamilySkipSetup ( ) : void
Résultat void

OneWireFirst() public méthode

Find the 'first' devices on the 1-Wire bus
public OneWireFirst ( ) : bool
Résultat bool

OneWireReadBit() public méthode

Read 1 bit of data from the 1-Wire bus
public OneWireReadBit ( ) : bool
Résultat bool

OneWireReadByte() public méthode

Read 1 bit of data from the 1-Wire bus
public OneWireReadByte ( ) : byte
Résultat byte

OneWireReset() public méthode

Reset the 1-Wire bus and return the presence of any device
public OneWireReset ( ) : bool
Résultat bool

OneWireSearch() public méthode

Perform the 1-Wire Search Algorithm on the 1-Wire bus using the existing search state.
public OneWireSearch ( ) : bool
Résultat bool

OneWireTargetSetup() public méthode

Setup the search to find the device type 'family_code' on the next call to OWNext() if it is present.
public OneWireTargetSetup ( byte family_code ) : void
family_code byte
Résultat void

OneWireVerify() public méthode

Verify the device with the ROM number in ROM_NO buffer is present.
public OneWireVerify ( ) : bool
Résultat bool

OneWireWriteBit() public méthode

Send 1 bit of data to teh 1-Wire bus
public OneWireWriteBit ( bool bit_value ) : void
bit_value bool
Résultat void

OneWireWriteByte() public méthode

Send 8 bits of data to the 1-Wire bus
public OneWireWriteByte ( byte byte_value ) : void
byte_value byte byte to send
Résultat void

OnoWireNext() public méthode

Find the 'next' devices on the 1-Wire bus
public OnoWireNext ( ) : bool
Résultat bool

ReadStatus() public méthode

Read status byte from DS2482_100
public ReadStatus ( bool setReadPointerToStatus = false ) : byte
setReadPointerToStatus bool Set to true if read pointer should be moved to status register before reading status
Résultat byte