struct _dfrph_context * dfrph_context
float dfrph_get_aref(const dfrph_context dev)
Definition: dfrph.c:73
upm_result_t dfrph_get_ph(const dfrph_context dev, float *value)
Definition: dfrph.c:101
void dfrph_close(dfrph_context dev)
Definition: dfrph.c:61
upm_result_t dfrph_set_aref(const dfrph_context dev, float aref)
Definition: dfrph.c:67
dfrph_context dfrph_init(int16_t pin)
Definition: dfrph.c:30
upm_result_t dfrph_set_offset(const dfrph_context dev, float offset)
Definition: dfrph.c:78
upm_result_t dfrph_get_raw_volts(const dfrph_context dev, float *volts)
Definition: dfrph.c:90
upm_result_t dfrph_set_scale(const dfrph_context dev, float scale)
Definition: dfrph.c:84