Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
temp_temod.h File Reference
#include "std.h"
Include dependency graph for temp_temod.h:
This graph shows which files directly or indirectly include this file:

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

Macro Definition Documentation

◆ TEMOD_I2C_R1

#define TEMOD_I2C_R1   256.

Definition at line 6 of file temp_temod.h.

◆ TEMOD_I2C_R2

#define TEMOD_I2C_R2   128.

Definition at line 7 of file temp_temod.h.

◆ TEMOD_I2C_R3

#define TEMOD_I2C_R3   64.

Definition at line 8 of file temp_temod.h.

Function Documentation

◆ temod_event()

void temod_event ( void )

Definition at line 74 of file temp_temod.c.

References DefaultChannel, DefaultDevice, ftmd_temperature, gps, I2CTransDone, I2CTransFailed, I2CTransSuccess, pprzLogFile, sdLogWriteLog(), TEMOD_TYPE, and tmd_trans.

Here is the call graph for this function:

◆ temod_init()

void temod_init ( void )

Definition at line 57 of file temp_temod.c.

References I2CTransDone, and tmd_trans.

◆ temod_periodic()

void temod_periodic ( void )

Definition at line 66 of file temp_temod.c.

References i2c_receive(), I2CTransDone, TEMOD_I2C_DEV, TEMOD_SLAVE_ADDR, and tmd_trans.

Here is the call graph for this function:

Variable Documentation

◆ ftmd_temperature

float ftmd_temperature
extern

Definition at line 43 of file temp_temod.c.

Referenced by temod_event().