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

temperature driver for LM35 and 100k NTC analog sensores More...

#include "std.h"
+ Include dependency graph for temp_adc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void temp_adc_init (void)
 Temperature ADC initialize channels. More...
 
void temp_adc_periodic (void)
 
float get_temp (uint8_t nr)
 

Variables

bool temp_adc_sync_send
 

Detailed Description

temperature driver for LM35 and 100k NTC analog sensores

Definition in file temp_adc.h.

Function Documentation

◆ get_temp()

float get_temp ( uint8_t  nr)

Definition at line 37 of file temp_adc.c.

References logger_uart_parse::nr, temp_c1, temp_c2, and temp_c3.

◆ temp_adc_init()

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_CHANNEL1, TEMP_ADC_CHANNEL2, temp_adc_downlink(), TEMP_ADC_NB_SAMPLES, temp_adc_sync_send, and TEMP_ADC_SYNC_SEND.

+ Here is the call graph for this function:

◆ temp_adc_periodic()

Variable Documentation

◆ temp_adc_sync_send

bool temp_adc_sync_send
extern

Definition at line 34 of file temp_adc.c.

Referenced by temp_adc_init(), and temp_adc_periodic().