Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
sif_tmp102.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_TMP102   0x48 /* ADD0 pin connection = GND */
 
#define SIF_TMP102_ALERT_PIN   33
 
#define SIF_TMP102_MODE   SIF_TMP102_MODE_TCONV_WAIT
 
#define SIF_TMP102_TCONV_MAX_TEMP   60 /* temperature */
 
#define SIF_TMP102_CONFIG_ONESHOT   0x80
 
#define SIF_TMP102_CONFIG_INTERRUPT   0x02 /* The AL pin is activated until being any pin being read */
 

Enumerations

enum  sif_TMP102_mode { SIF_TMP102_MODE_POLL_ONE_SHOT , SIF_TMP102_MODE_TCONV_WAIT }
 

Functions

u16_t SIF_TMP102_ReadTemperature (void)
 TMP102: Read Temperature. More...
 
u8_t SIF_TMP102_Initialise (void)
 TMP102: Initialise Sensor. More...
 
void SIF_TMP102_Reset (void)
 TMP102: Soft Reset Command. More...