upm  1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
Public Member Functions

Detailed Description

Public Member Functions

 SI7005 (int bus, int pin)
 
 ~SI7005 ()
 
uint16_t getTemperatureRaw ()
 
int getTemperatureCelsius ()
 
uint16_t getHumidityRaw ()
 
int getHumidityRelative ()
 
virtual const char * getModuleName ()
 
bool isAvailable ()
 
void enableHeater ()
 
void disableHeater ()
 
void enableFastConversionMode ()
 
void disableFastConversionMode ()
 

Constructor & Destructor Documentation

SI7005 ( int  bus,
int  pin 
)

Instantiates a SI7005 object

Parameters
busnumber of used bus
pingpio number for chip select pin

Here is the call graph for this function:

Here is the caller graph for this function:

~SI7005 ( )

SI7005 object destructor.

Member Function Documentation

uint16_t getTemperatureRaw ( )

Get temperature measurement.

Here is the caller graph for this function:

int getTemperatureCelsius ( )
virtual

Get temperature measurement.

Implements ITemperatureSensor.

Here is the call graph for this function:

uint16_t getHumidityRaw ( )

Get relative humidity measurement.

Here is the caller graph for this function:

int getHumidityRelative ( )
virtual

Get relative humidity measurement.

Implements IHumiditySensor.

Here is the call graph for this function:

virtual const char* getModuleName ( )
inlinevirtual

Returns sensor module name

Implements IModuleStatus.

Here is the call graph for this function:

bool isAvailable ( )

Detects the sensor to ensure it is connected as required.

Here is the caller graph for this function:

void enableHeater ( )

Enables the integrated heating element.

Here is the caller graph for this function:

void disableHeater ( )

Disables the integrated heating element.

Here is the caller graph for this function:

void enableFastConversionMode ( )

Enables fast conversion mode.

Here is the caller graph for this function:

void disableFastConversionMode ( )

Enables fast conversion mode.

Here is the caller graph for this function:

Inheritance diagram for SI7005:
Inheritance graph
[legend]
Collaboration diagram for SI7005:
Collaboration graph
[legend]

The documentation for this class was generated from the following files: