Microchip® Advanced Software Framework

s_temperature.h File Reference
#include "compiler.h"
#include "FreeRTOS.h"

Functions

bool b_temperature_get_value (char *buf)
 Get the current temperature value. More...
 

bool b_temperature_get_value ( char *  buf)

Get the current temperature value.

Parameters
bufchar buffer in which the temperature value is stored.
Returns
true upon success, false if error.

References adc, adc_disable(), adc_enable(), adc_get_value(), adc_start(), ADC_TEMPERATURE_CHANNEL, and temperature_code.

Referenced by device_full_custom_task().