Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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.

Macros

#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
 

Functions

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

Macro Definition Documentation

◆ LM75_CONF_REG

#define LM75_CONF_REG   0x01

Definition at line 7 of file temp_lm75.h.

◆ LM75_PROD_REG

#define LM75_PROD_REG   0x07

Definition at line 10 of file temp_lm75.h.

◆ LM75_T_HYST_REG

#define LM75_T_HYST_REG   0x02

Definition at line 8 of file temp_lm75.h.

◆ LM75_T_OS_REG

#define LM75_T_OS_REG   0x03

Definition at line 9 of file temp_lm75.h.

◆ LM75_TEMP_REG

#define LM75_TEMP_REG   0x00

Definition at line 6 of file temp_lm75.h.

Function Documentation

◆ lm75_event()

void lm75_event ( void  )

◆ lm75_init()

void lm75_init ( void  )

Definition at line 52 of file temp_lm75.c.

References I2CTransDone, lm75_trans, and i2c_transaction::status.

◆ lm75_periodic()

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: