pico-scale
|
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "../extern/hx711-pico-c/include/common.h"
#include "../include/hx711_scale_adaptor.h"
Go to the source code of this file.
Functions | |
bool | hx711_scale_adaptor_init (hx711_scale_adaptor_t *const hxa, hx711_t *const hx) |
scale_adaptor_t * | hx711_scale_adaptor_get_base (hx711_scale_adaptor_t *const hxa) |
bool | hx711_scale_adaptor_get_value_timeout (scale_adaptor_t *const sa, int32_t *const value, const uint timeout) |
bool | hx711_scale_adaptor_get_value (scale_adaptor_t *const sa, int32_t *const value) |
scale_adaptor_t* hx711_scale_adaptor_get_base | ( | hx711_scale_adaptor_t *const | hxa | ) |
bool hx711_scale_adaptor_get_value | ( | scale_adaptor_t *const | sa, |
int32_t *const | value | ||
) |
Definition at line 66 of file hx711_scale_adaptor.c.
References hx711_scale_adaptor_t::_hx, and scale_adaptor_get_data().
Referenced by hx711_scale_adaptor_init().
bool hx711_scale_adaptor_get_value_timeout | ( | scale_adaptor_t *const | sa, |
int32_t *const | value, | ||
const uint | timeout | ||
) |
Definition at line 53 of file hx711_scale_adaptor.c.
References hx711_scale_adaptor_t::_hx, and scale_adaptor_get_data().
Referenced by hx711_scale_adaptor_init().
bool hx711_scale_adaptor_init | ( | hx711_scale_adaptor_t *const | hxa, |
hx711_t *const | hx | ||
) |
Definition at line 30 of file hx711_scale_adaptor.c.
References hx711_scale_adaptor_t::_hx, hx711_scale_adaptor_t::_sa, scale_adaptor::get_value, scale_adaptor::get_value_timeout, hx711_scale_adaptor_get_value(), hx711_scale_adaptor_get_value_timeout(), and scale_adaptor_init().