upm: Add sensor groups based on IO types

This commit also fixes adds some default constructor arguments to some i2c
sensors.

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-10-02 10:28:29 +01:00
parent 79e8a261ba
commit 397af51d7c
33 changed files with 97 additions and 39 deletions

View File

@ -70,7 +70,7 @@ struct Time3231 {
/**
* @brief C++ API for MAXDS3231M chip (Ambient and Infrared Proximity Sensor)
*
* @ingroup maxds3231m
* @ingroup maxds3231m i2c
*/
class MAXDS3231M {
public:
@ -80,7 +80,7 @@ class MAXDS3231M {
* @param bus number of used bus
* @param devAddr addres of used i2c device
*/
MAXDS3231M (int bus, int devAddr);
MAXDS3231M (int bus=0, int devAddr=0x68);
/**
* MAXDS3231M object destructor, basicaly it close i2c connection.