C# 클래스 Rinsen.IoT.OneWire.DS2482_100

상속: IDisposable
파일 보기 프로젝트 열기: Rinsen/OneWire 1 사용 예제들

공개 메소드들

메소드 설명
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