Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
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) |
#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().
void lm75_event | ( | void | ) |
Definition at line 63 of file temp_lm75.c.
References i2c_transaction::buf, DefaultChannel, DefaultDevice, I2CTransDone, I2CTransSuccess, lm75_trans, and i2c_transaction::status.
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.