Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
sif_si7021.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SIF_SAD_SI7021   0x40 /* Si7021 temperature / humidity sensor */
 
#define SIF_SI7021_MODE   SIF_SI7021_MODE_HOLD_MASTER
 
#define SIF_SI7021_TCONV_MAX_TEMP   10 /* temperature */
 
#define SIF_SI7021_TCONV_MAX_HUM   20 /* humidity */
 

Enumerations

enum  sif_si7021_mode { SIF_SI7021_MODE_HOLD_MASTER , SIF_SI7021_MODE_NACK_WAIT , SIF_SI7021_MODE_TCONV_WAIT }
 

Functions

u8_t SIF_SI7021_ReadTemperature (void)
 SI7021: Read Temperature. More...
 
u8_t SIF_SI7021_ReadHumidity (void)
 SI7021: Read Humidity. More...
 
void SIF_SI7021_Reset (void)
 SI7021: Soft Reset Command. More...
 
u8_t SIF_SI7021_ReadID (void)
 SI7021: Read ID byte of Electronic Serial Number. More...