Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
Maxim MAX30205 human body temperature sensor driver

Sensor interface for Maxim MAX30205 human body temperature sensor. More...

Collaboration diagram for Maxim MAX30205 human body temperature sensor driver:

Macros

#define SIF_SAD_MAX30205   0x90 /* A2/A1/A0 = 0/0/0 */
 
#define SIF_MAX30205_MODE   SIF_MAX30205_MODE_TCONV_WAIT
 
#define SIF_MAX30205_TCONV_MAX_TEMP   60 /* temperature */
 
#define SIF_MAX30205_CONFIG_ONESHOT   0x80
 
#define SIF_MAX30205_CONFIG_SHUTDOWN   0x01
 

Enumerations

enum  sif_max30205_mode { SIF_MAX30205_MODE_POLL_ONE_SHOT , SIF_MAX30205_MODE_TCONV_WAIT }
 

Functions

u16_t SIF_MAX30205_ReadTemperature (void)
 MAX30205: Read Temperature. More...
 
u8_t SIF_MAX30205_Initialise (void)
 MAX30205: Initialise Sensor. More...
 

Detailed Description

Sensor interface for Maxim MAX30205 human body temperature sensor.

Macro Definition Documentation

◆ SIF_MAX30205_CONFIG_ONESHOT

#define SIF_MAX30205_CONFIG_ONESHOT   0x80

◆ SIF_MAX30205_CONFIG_SHUTDOWN

#define SIF_MAX30205_CONFIG_SHUTDOWN   0x01

◆ SIF_MAX30205_MODE

#define SIF_MAX30205_MODE   SIF_MAX30205_MODE_TCONV_WAIT

◆ SIF_MAX30205_TCONV_MAX_TEMP

#define SIF_MAX30205_TCONV_MAX_TEMP   60 /* temperature */

◆ SIF_SAD_MAX30205

#define SIF_SAD_MAX30205   0x90 /* A2/A1/A0 = 0/0/0 */

Enumeration Type Documentation

◆ sif_max30205_mode

Enumerator
SIF_MAX30205_MODE_POLL_ONE_SHOT 
SIF_MAX30205_MODE_TCONV_WAIT 

Function Documentation

◆ SIF_MAX30205_Initialise()

u8_t SIF_MAX30205_Initialise ( void  )

MAX30205: Initialise Sensor.

Returns
status, 0 = success

◆ SIF_MAX30205_ReadTemperature()

u16_t SIF_MAX30205_ReadTemperature ( void  )

MAX30205: Read Temperature.

Returns
Temperature as defined in MAX30205 Datasheet, normal format