EFM32 Happy Gecko Software Documentation
efm32hg-doc-5.1.2
|
Si7021 error message macro definitions.
Macros | |
#define | SI7021_ERROR_I2C_TRANSFER_FAILED 0x0002 |
#define | SI7021_ERROR_I2C_TRANSFER_NACK 0x0001 |
#define | SI7021_ERROR_INVALID_DEVICE_ID 0x0003 |
#define | SI7021_ERROR_TIMEOUT 0x0004 |
#define | SI7021_OK 0 |
#define SI7021_ERROR_I2C_TRANSFER_FAILED 0x0002 |
I2C transaction failed
Definition at line 60 of file si7021.h.
Referenced by SI7021_cmdRead(), and SI7021_cmdWrite().
#define SI7021_ERROR_I2C_TRANSFER_NACK 0x0001 |
No acknowledgement received
Definition at line 59 of file si7021.h.
Referenced by SI7021_cmdRead(), SI7021_cmdWrite(), and SI7021_measure().
#define SI7021_ERROR_INVALID_DEVICE_ID 0x0003 |
#define SI7021_ERROR_TIMEOUT 0x0004 |
#define SI7021_OK 0 |
No errors
Definition at line 58 of file si7021.h.
Referenced by SI7021_cmdRead(), SI7021_cmdWrite(), SI7021_init(), and SI7021_measure().