|
Paparazzi UAS v7.1_unstable
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 | |
| void | temp_adc_init (void) |
| Temperature ADC initialize channels. | |
| void | temp_adc_periodic (void) |
| float | get_temp (uint8_t nr) |
Variables | |
| bool | temp_adc_sync_send |
temperature driver for LM35 and 100k NTC analog sensores
Definition in file temp_adc.h.
|
extern |
Definition at line 37 of file temp_adc.c.
| void temp_adc_init | ( | void | ) |
Temperature ADC initialize channels.
Definition at line 129 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 151 of file temp_adc.c.
References adc_buf_get(), calc_lm35(), calc_ntc(), DefaultChannel, DefaultDevice, temp_adc_downlink(), temp_adc_sync_send, temp_c1, temp_c2, and temp_c3.
|
extern |
Definition at line 34 of file temp_adc.c.
Referenced by temp_adc_init(), and temp_adc_periodic().