upm_result_t flex_set_aref(const flex_context dev, float aref)
Definition: flex.c:67
float flex_get_scale(const flex_context dev)
Definition: flex.c:90
flex_context flex_init(int16_t pin)
Definition: flex.c:30
upm_result_t flex_set_offset(const flex_context dev, float offset)
Definition: flex.c:79
upm_result_t flex_get_normalized(const flex_context dev, float *value)
Definition: flex.c:100
upm_result_t flex_get_raw_volts(const flex_context dev, float *value)
Definition: flex.c:108
struct _flex_context * flex_context
upm_result_t flex_set_scale(const flex_context dev, float scale)
Definition: flex.c:73
float flex_get_aref(const flex_context dev)
Definition: flex.c:85
upm_result_t flex_get_volts(const flex_context dev, float *value)
Definition: flex.c:120
float flex_get_offset(const flex_context dev)
Definition: flex.c:95
void flex_close(flex_context dev)
Definition: flex.c:61