Device driver interface for the illuminance TSL2561 sensor.
More...
Device driver interface for the illuminance TSL2561 sensor.
- Author
- Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Definition in file tsl2561.h.
#include "saul.h"
#include "periph/i2c.h"
Go to the source code of this file.
|
#define | TSL2561_ADDR_LOW (0x29) |
|
#define | TSL2561_ADDR_FLOAT (0x39) |
|
#define | TSL2561_ADDR_HIGH (0x49) |
|
|
#define | TSL2561_INTEGRATIONTIME_13MS (0x00) /* 13.7ms */ |
|
#define | TSL2561_INTEGRATIONTIME_101MS (0x01) /* 101ms */ |
|
#define | TSL2561_INTEGRATIONTIME_402MS (0x02) /* 402ms */ |
|
#define | TSL2561_INTEGRATIONTIME_NA (0x03) /* N/A */ |
|
|
#define | TSL2561_GAIN_1X (0x00) |
|
#define | TSL2561_GAIN_16X (0x10) |
|
|
#define | TSL2561_OK (0) |
|
#define | TSL2561_NOI2C (-1) |
|
#define | TSL2561_BADDEV (-2) |
|