upm_result_t mqx_set_aref(const mqx_context dev, float aref)
Definition: mqx.c:67
void mqx_close(mqx_context dev)
Definition: mqx.c:61
upm_result_t mqx_get_raw_volts(const mqx_context dev, float *value)
Definition: mqx.c:108
float mqx_get_aref(const mqx_context dev)
Definition: mqx.c:85
upm_result_t mqx_set_offset(const mqx_context dev, float offset)
Definition: mqx.c:79
float mqx_get_offset(const mqx_context dev)
Definition: mqx.c:95
upm_result_t mqx_set_scale(const mqx_context dev, float scale)
Definition: mqx.c:73
upm_result_t mqx_get_volts(const mqx_context dev, float *value)
Definition: mqx.c:120
struct _mqx_context * mqx_context
float mqx_get_scale(const mqx_context dev)
Definition: mqx.c:90
mqx_context mqx_init(int16_t pin)
Definition: mqx.c:30
upm_result_t mqx_get_normalized(const mqx_context dev, float *value)
Definition: mqx.c:100