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 | TEMOD_I2C_R1 256. |
#define | TEMOD_I2C_R2 128. |
#define | TEMOD_I2C_R3 64. |
Functions | |
void | temod_init (void) |
void | temod_periodic (void) |
void | temod_event (void) |
Variables | |
float | ftmd_temperature |
#define TEMOD_I2C_R1 256. |
Definition at line 6 of file temp_temod.h.
#define TEMOD_I2C_R2 128. |
Definition at line 7 of file temp_temod.h.
#define TEMOD_I2C_R3 64. |
Definition at line 8 of file temp_temod.h.
void temod_event | ( | void | ) |
Definition at line 60 of file temp_temod.c.
References i2c_transaction::buf, DefaultChannel, DefaultDevice, ftmd_temperature, I2CTransDone, I2CTransSuccess, i2c_transaction::status, TEMOD_TYPE, and tmd_trans.
void temod_init | ( | void | ) |
Definition at line 50 of file temp_temod.c.
References I2CTransDone, i2c_transaction::status, and tmd_trans.
void temod_periodic | ( | void | ) |
Definition at line 55 of file temp_temod.c.
References i2c_receive(), TEMOD_I2C_DEV, TEMOD_SLAVE_ADDR, and tmd_trans.
float ftmd_temperature |
Definition at line 36 of file temp_temod.c.
Referenced by temod_event().