C# Class GHIElectronics.UAP.Gadgeteer.SoftwareInterfaces.I2cDevice

Inheritance: SocketInterfaces.I2cDevice
Afficher le fichier Open project: amykatenicho/IoTWorkshop

Méthodes publiques

Méthode Description
Read ( byte buffer ) : void
Write ( byte buffer ) : void
WriteThenRead ( byte writeBuffer, byte readBuffer ) : void

Private Methods

Méthode Description
ClearScl ( ) : void
ClearSda ( ) : void
I2cDevice ( DigitalIO sda, DigitalIO scl, Windows settings ) : GHIElectronics.UAP.Gadgeteer.SocketInterfaces
Read ( byte buffer, bool sendStart, bool sendStop ) : void
ReadBit ( ) : bool
ReadScl ( ) : bool
ReadSda ( ) : bool
Receive ( bool sendAck, bool sendStop ) : byte
ReleaseScl ( ) : void
ReleaseSda ( ) : void
SendStart ( ) : bool
SendStop ( ) : bool
Transmit ( bool sendStart, bool sendStop, byte data ) : bool
WaitForScl ( ) : void
Write ( byte buffer, bool sendStart, bool sendStop ) : void
WriteBit ( bool bit ) : bool

Method Details

Read() public méthode

public Read ( byte buffer ) : void
buffer byte
Résultat void

Write() public méthode

public Write ( byte buffer ) : void
buffer byte
Résultat void

WriteThenRead() public méthode

public WriteThenRead ( byte writeBuffer, byte readBuffer ) : void
writeBuffer byte
readBuffer byte
Résultat void