C# Класс Rinsen.IoT.OneWire.DS2482_100

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
WaitForOneWireReady ( ) : void
docrc8 ( byte value ) : byte

Описание методов

DS2482_100() публичный Метод

public DS2482_100 ( Windows.Devices.I2c.I2cDevice i2cDevice ) : System
i2cDevice Windows.Devices.I2c.I2cDevice
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EnableStrongPullup() публичный Метод

public EnableStrongPullup ( ) : void
Результат void

OneWireFamilySkipSetup() публичный Метод

Setup the search to skip the current device type on the next call to OWNext().
public OneWireFamilySkipSetup ( ) : void
Результат void

OneWireFirst() публичный Метод

Find the 'first' devices on the 1-Wire bus
public OneWireFirst ( ) : bool
Результат bool

OneWireReadBit() публичный Метод

Read 1 bit of data from the 1-Wire bus
public OneWireReadBit ( ) : bool
Результат bool

OneWireReadByte() публичный Метод

Read 1 bit of data from the 1-Wire bus
public OneWireReadByte ( ) : byte
Результат byte

OneWireReset() публичный Метод

Reset the 1-Wire bus and return the presence of any device
public OneWireReset ( ) : bool
Результат bool

OneWireSearch() публичный Метод

Perform the 1-Wire Search Algorithm on the 1-Wire bus using the existing search state.
public OneWireSearch ( ) : bool
Результат bool

OneWireTargetSetup() публичный Метод

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
Результат void

OneWireVerify() публичный Метод

Verify the device with the ROM number in ROM_NO buffer is present.
public OneWireVerify ( ) : bool
Результат bool

OneWireWriteBit() публичный Метод

Send 1 bit of data to teh 1-Wire bus
public OneWireWriteBit ( bool bit_value ) : void
bit_value bool
Результат void

OneWireWriteByte() публичный Метод

Send 8 bits of data to the 1-Wire bus
public OneWireWriteByte ( byte byte_value ) : void
byte_value byte byte to send
Результат void

OnoWireNext() публичный Метод

Find the 'next' devices on the 1-Wire bus
public OnoWireNext ( ) : bool
Результат bool

ReadStatus() публичный Метод

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
Результат byte