![]() |
IoT Drivers
v3.3.0 (S2022)
Engineering in Software Technology
|
Return codes from TSL2591 driver functions. More...
Enumerations | |
enum | tsl2591_returnCode_t { TSL2591_OK, TSL2591_DATA_READY, TSL2591_DEV_ID_READY, TSL2591_OVERFLOW, TSL2591_UNDERFLOW, TSL2591_BUSY, TSL2591_ERROR, TSL2591_DRIVER_NOT_INITIALISED, TSL2591_OUT_OF_HEAP } |
TSL2591 Driver return codes. More... | |
Return codes from TSL2591 driver functions.
enum tsl2591_returnCode_t |
TSL2591 Driver return codes.
These are the codes that can be returned from calls to the driver.
Enumerator | |
---|---|
TSL2591_OK | Everything went well |
TSL2591_DATA_READY | Data is ready from the last call to tsl2591_fetchData |
TSL2591_DEV_ID_READY | Device ID is ready from the last call to tsl2591_fetchDeviceId |
TSL2591_OVERFLOW | The last measuring is in overflow - consider a lower gain |
TSL2591_UNDERFLOW | The last measuring is in underflow - consider a higher gain |
TSL2591_BUSY | The driver is busy or the TWI-driver is busy |
TSL2591_ERROR | A non specified error occurred |
TSL2591_DRIVER_NOT_INITIALISED | The driver is used before it is initialised tsl2591_initialise |
TSL2591_OUT_OF_HEAP | There is not enough HEAP memory to initialise the driver |