pico-scale
|
#include <scale_adaptor.h>
Data Fields | |
void * | _data |
Arbitrary user data. More... | |
bool(* | get_value )(struct scale_adaptor *const sa, int32_t *const value) |
Function pointer to function. More... | |
bool(* | get_value_timeout )(struct scale_adaptor *const sa, int32_t *const value, const uint timeout) |
Function pointer to function. More... | |
Definition at line 34 of file scale_adaptor.h.
void* scale_adaptor::_data |
Arbitrary user data.
Definition at line 39 of file scale_adaptor.h.
Referenced by scale_adaptor_get_data(), and scale_adaptor_init().
bool(* scale_adaptor::get_value) (struct scale_adaptor *const sa, int32_t *const value) |
Function pointer to function.
sa | pointer to scale adaptor |
value | value to be set |
Definition at line 46 of file scale_adaptor.h.
Referenced by hx711_scale_adaptor_init(), and scale_get_values_samples().
bool(* scale_adaptor::get_value_timeout) (struct scale_adaptor *const sa, int32_t *const value, const uint timeout) |
Function pointer to function.
sa | pointer to scale adaptor |
value | value to be set |
timeout | timeout in microseconds |
Definition at line 56 of file scale_adaptor.h.
Referenced by hx711_scale_adaptor_init(), and scale_get_values_timeout().