25 #include "hardware/pio.h"
26 #include "../include/common.h"
27 #include "../include/hx711.h"
28 #include "../include/hx711_reader.pio.h"
29 #include "../include/hx711_multi.h"
30 #include "../include/hx711_multi_awaiter.pio.h"
31 #include "../include/hx711_multi_reader.pio.h"
const hx711_config_t HX711__DEFAULT_CONFIG
void hx711_multi_get_default_config(hx711_multi_config_t *const cfg)
void hx711_get_default_config(hx711_config_t *const cfg)
const hx711_multi_config_t HX711__MULTI_DEFAULT_CONFIG
#define HX711_MULTI_ASYNC_PIO_IRQ_IDX
IRQ index defaults for PIO and DMA.
#define HX711_MULTI_ASYNC_DMA_IRQ_IDX
static const struct pio_program hx711_multi_awaiter_program
void hx711_multi_awaiter_program_init(hx711_multi_t *const hxm)
void hx711_multi_reader_program_init(hx711_multi_t *const hxm)
static const struct pio_program hx711_multi_reader_program
void hx711_multi_pio_init(hx711_multi_t *const hxm)
static const struct pio_program hx711_reader_program
void hx711_reader_program_init(hx711_t *const hx)
void hx711_reader_pio_init(hx711_t *const hx)
uint clock_pin
GPIO pin number connected to all HX711 chips.