34 #ifndef METEO_FRANCE_DAQ_H
35 #define METEO_FRANCE_DAQ_H
39 #include "generated/airframe.h"
41 #define MF_DAQ_SIZE 32
56 #if (defined MF_DAQ_POWER_PORT) && (defined MF_DAQ_POWER_PIN)
57 #define meteo_france_DAQ_SetPower(_x) { \
59 if (mf_daq.power) { gpio_set(MF_DAQ_POWER_PORT, MF_DAQ_POWER_PIN); } \
60 else { gpio_clear(MF_DAQ_POWER_PORT, MF_DAQ_POWER_PIN); } \
63 #define meteo_france_DAQ_SetPower(_x) {}
Some architecture independent helper functions for GPIOs.
void mf_daq_send_state(void)
void parse_mf_daq_msg(uint8_t *buf)
float values[MF_DAQ_SIZE]
void mf_daq_send_report(void)
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.