C# Class Glovebox.IoT.Devices.Sensors.BMP280

Inheritance: IDisposable
Show file Open project: gloveboxes/Windows-IoT-Core-Driver-Library Class Usage Examples

Protected Properties

Property Type Description
calibration calib_data
t_fine int

Private Properties

Property Type Description
EnsureInitializedAsync System.Threading.Tasks.Task
GetPressure double
Initialise void
Read16_LE ushort
Read24 System.Int32
ReadS16 short

Public Methods

Method Description
BMP280 ( int i2cAddress = 0x77 ) : System
Dispose ( ) : void

Protected Methods

Method Description
GetTemperature ( ) : double
InitiliseRegisters ( ) : void
Read16 ( Register reg ) : ushort
Read8 ( Register reg ) : byte
ReadCoefficients ( ) : void
ReadS16_LE ( Register reg ) : short
Write8 ( Register reg, byte value ) : void

Private Methods

Method Description
EnsureInitializedAsync ( ) : System.Threading.Tasks.Task
GetPressure ( ) : double
Initialise ( ) : void
Read16_LE ( Register reg ) : ushort
Read24 ( Register reg ) : Int32
ReadS16 ( Register reg ) : short

Method Details

BMP280() public method

public BMP280 ( int i2cAddress = 0x77 ) : System
i2cAddress int
return System

Dispose() public method

public Dispose ( ) : void
return void

GetTemperature() protected method

protected GetTemperature ( ) : double
return double

InitiliseRegisters() protected method

protected InitiliseRegisters ( ) : void
return void

Read16() protected method

protected Read16 ( Register reg ) : ushort
reg Register
return ushort

Read8() protected method

protected Read8 ( Register reg ) : byte
reg Register
return byte

ReadCoefficients() protected method

protected ReadCoefficients ( ) : void
return void

ReadS16_LE() protected method

protected ReadS16_LE ( Register reg ) : short
reg Register
return short

Write8() protected method

protected Write8 ( Register reg, byte value ) : void
reg Register
value byte
return void

Property Details

calibration protected property

protected calib_data calibration
return calib_data

t_fine protected property

protected int t_fine
return int