Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
meteo_france_DAQ.h File Reference

Communication module with the Data Acquisition board from Meteo France. More...

#include "std.h"
#include "mcu_periph/gpio.h"
#include "generated/airframe.h"
+ Include dependency graph for meteo_france_DAQ.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MF_DAQ


#define MF_DAQ_SIZE   32
#define meteo_france_DAQ_SetPower(_x)   {}


void init_mf_daq (void)
void mf_daq_send_state (void)
void mf_daq_send_report (void)
void parse_mf_daq_msg (uint8_t *buf)


struct MF_DAQ mf_daq

Detailed Description

Communication module with the Data Acquisition board from Meteo France.

DAQ board sends measurments to the AP AP sends periodic report to the ground, store data on SD card and sends A/C state to DAQ board

Definition in file meteo_france_DAQ.h.

Data Structure Documentation


struct MF_DAQ

Definition at line 43 of file meteo_france_DAQ.h.

Data Fields
uint8_t nb
uint8_t power
float values[MF_DAQ_SIZE]

Macro Definition Documentation

◆ meteo_france_DAQ_SetPower

#define meteo_france_DAQ_SetPower (   _x)    {}

Definition at line 63 of file meteo_france_DAQ.h.


#define MF_DAQ_SIZE   32

Definition at line 41 of file meteo_france_DAQ.h.

Function Documentation

◆ init_mf_daq()

void init_mf_daq ( void  )

Definition at line 57 of file meteo_france_DAQ.c.

References gpio_setup_output(), log_started, meteo_france_DAQ_SetPower, mf_daq, MF_DAQ_POWER_INIT, MF_DAQ::nb, and MF_DAQ::power.

+ Here is the call graph for this function:

◆ mf_daq_send_report()

◆ mf_daq_send_state()

void mf_daq_send_state ( void  )

◆ parse_mf_daq_msg()

Variable Documentation

◆ mf_daq

struct MF_DAQ mf_daq

Definition at line 1 of file meteo_france_DAQ.c.

Referenced by init_mf_daq(), mf_daq_send_report(), and parse_mf_daq_msg().