void ldt0028_close(ldt0028_context dev)
Definition: ldt0028.c:61
upm_result_t ldt0028_set_aref(const ldt0028_context dev, float aref)
Definition: ldt0028.c:67
ldt0028_context ldt0028_init(int16_t pin)
Definition: ldt0028.c:30
float ldt0028_get_aref(const ldt0028_context dev)
Definition: ldt0028.c:85
upm_result_t ldt0028_set_scale(const ldt0028_context dev, float scale)
Definition: ldt0028.c:73
float ldt0028_get_scale(const ldt0028_context dev)
Definition: ldt0028.c:90
float ldt0028_get_offset(const ldt0028_context dev)
Definition: ldt0028.c:95
struct _ldt0028_context * ldt0028_context
upm_result_t ldt0028_get_volts(const ldt0028_context dev, float *value)
Definition: ldt0028.c:120
upm_result_t ldt0028_set_offset(const ldt0028_context dev, float offset)
Definition: ldt0028.c:79
upm_result_t ldt0028_get_normalized(const ldt0028_context dev, float *value)
Definition: ldt0028.c:100
upm_result_t ldt0028_get_raw_volts(const ldt0028_context dev, float *value)
Definition: ldt0028.c:108