Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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

#define TMP102_CONF_REG   0x01

Definition at line 7 of file temp_tmp102.h.

Referenced by tmp102_init().

#define TMP102_T_HIGH_REG   0x03

Definition at line 9 of file temp_tmp102.h.

#define TMP102_T_LOW_REG   0x02

Definition at line 8 of file temp_tmp102.h.

#define TMP102_TEMP_REG   0x00

Definition at line 6 of file temp_tmp102.h.

Referenced by tmp102_periodic().

Function Documentation

void tmp102_init ( void  )

Definition at line 63 of file temp_tmp102.c.

References i2c_transaction::buf, FALSE, 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:

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, tmp_trans, and TRUE.

+ Here is the call graph for this function:

Variable Documentation

float ftmp_temperature

Definition at line 40 of file temp_tmp102.c.

Referenced by tmp102_event().