Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
temperature driver for LM35 and 100k NTC analog sensores More...
#include "std.h"
Go to the source code of this file.
Functions | |
float | calc_ntc (int16_t raw_temp) |
float | calc_lm35 (int16_t raw_temp) |
void | temp_adc_init (void) |
void | temp_adc_periodic (void) |
Variables | |
bool_t | temp_adc_sync_send |
flag to enable sending every new measurement via telemetry More... | |
temperature driver for LM35 and 100k NTC analog sensores
Definition in file temp_adc.h.
float calc_lm35 | ( | int16_t | raw_temp | ) |
Definition at line 96 of file temp_adc.c.
Referenced by temp_adc_periodic().
float calc_ntc | ( | int16_t | raw_temp | ) |
Definition at line 84 of file temp_adc.c.
Referenced by temp_adc_periodic().
void temp_adc_init | ( | void | ) |
Definition at line 106 of file temp_adc.c.
References adc_buf_channel(), DefaultPeriodic, register_periodic_telemetry(), temp_adc_downlink(), TEMP_ADC_NB_SAMPLES, temp_adc_sync_send, and TEMP_ADC_SYNC_SEND.
void temp_adc_periodic | ( | void | ) |
Definition at line 128 of file temp_adc.c.
References calc_lm35(), calc_ntc(), DefaultChannel, DefaultDevice, temp_adc_downlink(), temp_adc_sync_send, temp_c1, temp_c2, and temp_c3.
bool_t temp_adc_sync_send |
flag to enable sending every new measurement via telemetry
Definition at line 32 of file temp_adc.h.
Referenced by temp_adc_init(), and temp_adc_periodic().