Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
temp_tmp102.h File Reference
#include "std.h"
+ Include dependency graph for temp_tmp102.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TMP102_TEMP_REG   0x00
 
#define TMP102_CONF_REG   0x01
 
#define TMP102_T_LOW_REG   0x02
 
#define TMP102_T_HIGH_REG   0x03
 

Functions

void tmp102_init (void)
 
void tmp102_periodic (void)
 
void tmp102_event (void)
 

Variables

float ftmp_temperature
 

Macro Definition Documentation

◆ TMP102_CONF_REG

#define TMP102_CONF_REG   0x01

Definition at line 7 of file temp_tmp102.h.

◆ TMP102_T_HIGH_REG

#define TMP102_T_HIGH_REG   0x03

Definition at line 9 of file temp_tmp102.h.

◆ TMP102_T_LOW_REG

#define TMP102_T_LOW_REG   0x02

Definition at line 8 of file temp_tmp102.h.

◆ TMP102_TEMP_REG

#define TMP102_TEMP_REG   0x00

Definition at line 6 of file temp_tmp102.h.

Function Documentation

◆ tmp102_event()

◆ tmp102_init()

void tmp102_init ( void  )

Definition at line 63 of file temp_tmp102.c.

References i2c_transaction::buf, i2c_transmit(), TMP102_CONF1, TMP102_CONF2, TMP102_CONF_REG, TMP102_SLAVE_ADDR, TMP_I2C_DEV, tmp_meas_started, and tmp_trans.

+ Here is the call graph for this function:

◆ tmp102_periodic()

void tmp102_periodic ( void  )

Definition at line 73 of file temp_tmp102.c.

References i2c_transaction::buf, i2c_transceive(), TMP102_SLAVE_ADDR, TMP102_TEMP_REG, TMP_I2C_DEV, tmp_meas_started, and tmp_trans.

+ Here is the call graph for this function:

Variable Documentation

◆ ftmp_temperature

float ftmp_temperature

Definition at line 40 of file temp_tmp102.c.

Referenced by tmp102_event().