Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
temp_lm75.h File Reference
#include "std.h"
+ Include dependency graph for temp_lm75.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define LM75_TEMP_REG   0x00
#define LM75_CONF_REG   0x01
#define LM75_T_HYST_REG   0x02
#define LM75_T_OS_REG   0x03
#define LM75_PROD_REG   0x07


void lm75_init (void)
void lm75_periodic (void)
void lm75_event (void)

Macro Definition Documentation

#define LM75_CONF_REG   0x01

Definition at line 7 of file temp_lm75.h.

#define LM75_PROD_REG   0x07

Definition at line 10 of file temp_lm75.h.

#define LM75_T_HYST_REG   0x02

Definition at line 8 of file temp_lm75.h.

#define LM75_T_OS_REG   0x03

Definition at line 9 of file temp_lm75.h.

#define LM75_TEMP_REG   0x00

Definition at line 6 of file temp_lm75.h.

Referenced by lm75_periodic().

Function Documentation

void lm75_event ( void  )
void lm75_init ( void  )

Definition at line 52 of file temp_lm75.c.

References I2CTransDone, lm75_trans, and i2c_transaction::status.

void lm75_periodic ( void  )

Definition at line 57 of file temp_lm75.c.

References i2c_transaction::buf, i2c_transceive(), LM75_I2C_DEV, LM75_SLAVE_ADDR, LM75_TEMP_REG, and lm75_trans.

+ Here is the call graph for this function: