gsr_context gsr_init(int16_t pin)
Definition: gsr.c:30
upm_result_t gsr_get_volts(const gsr_context dev, float *value)
Definition: gsr.c:120
upm_result_t gsr_set_aref(const gsr_context dev, float aref)
Definition: gsr.c:67
float gsr_get_aref(const gsr_context dev)
Definition: gsr.c:85
void gsr_close(gsr_context dev)
Definition: gsr.c:61
float gsr_get_scale(const gsr_context dev)
Definition: gsr.c:90
upm_result_t gsr_get_raw_volts(const gsr_context dev, float *value)
Definition: gsr.c:108
float gsr_get_offset(const gsr_context dev)
Definition: gsr.c:95
struct _gsr_context * gsr_context
upm_result_t gsr_set_scale(const gsr_context dev, float scale)
Definition: gsr.c:73
upm_result_t gsr_set_offset(const gsr_context dev, float offset)
Definition: gsr.c:79
upm_result_t gsr_get_normalized(const gsr_context dev, float *value)
Definition: gsr.c:100