hx711-pico-c
|
#include <hx711_multi.h>
Data Fields | |
uint | clock_pin |
GPIO pin number connected to all HX711 chips. More... | |
uint | data_pin_base |
Lowest GPIO pin number connected to a HX711 chip. More... | |
size_t | chips_len |
Number of HX711 chips connected. More... | |
uint | pio_irq_index |
Which index to use for a PIO interrupt. Either 0 or 1. Corresponds to PIO[PIO_INDEX]_IRQ[IRQ_INDEX] NVIC IRQ number. More... | |
uint | dma_irq_index |
Which index to use for a DMA interrupt. Either 0 or 1. Corresponds to DMA_IRQ[IRQ_INDEX] NVIC IRQ number. More... | |
PIO | pio |
Which PIO to use. Either pio0 or pio1. More... | |
hx711_multi_pio_init_t | pio_init |
PIO init function. This is called to set up any PIO functions (pio_*) as opposed to any State Machine functions (pio_sm_*). More... | |
const pio_program_t * | awaiter_prog |
PIO awaiter program. More... | |
hx711_multi_program_init_t | awaiter_prog_init |
PIO awaiter init function. This is called to set up the State Machine for the awaiter program. It is called once prior to the State Machine being enabled. More... | |
const pio_program_t * | reader_prog |
PIO reader program. More... | |
hx711_multi_program_init_t | reader_prog_init |
PIO reader init function. This is called to set up the State Machine for the reader program. It is called once prior to the State Machine being enabled. More... | |
Definition at line 127 of file hx711_multi.h.
const pio_program_t* hx711_multi_config_t::awaiter_prog |
PIO awaiter program.
Definition at line 174 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
hx711_multi_program_init_t hx711_multi_config_t::awaiter_prog_init |
PIO awaiter init function. This is called to set up the State Machine for the awaiter program. It is called once prior to the State Machine being enabled.
Definition at line 181 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
size_t hx711_multi_config_t::chips_len |
Number of HX711 chips connected.
Definition at line 142 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
uint hx711_multi_config_t::clock_pin |
GPIO pin number connected to all HX711 chips.
Definition at line 132 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
uint hx711_multi_config_t::data_pin_base |
Lowest GPIO pin number connected to a HX711 chip.
Definition at line 137 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
uint hx711_multi_config_t::dma_irq_index |
Which index to use for a DMA interrupt. Either 0 or 1. Corresponds to DMA_IRQ[IRQ_INDEX] NVIC IRQ number.
Definition at line 155 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
PIO hx711_multi_config_t::pio |
Which PIO to use. Either pio0 or pio1.
Definition at line 161 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
hx711_multi_pio_init_t hx711_multi_config_t::pio_init |
PIO init function. This is called to set up any PIO functions (pio_*) as opposed to any State Machine functions (pio_sm_*).
Definition at line 168 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
uint hx711_multi_config_t::pio_irq_index |
Which index to use for a PIO interrupt. Either 0 or 1. Corresponds to PIO[PIO_INDEX]_IRQ[IRQ_INDEX] NVIC IRQ number.
Definition at line 149 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
const pio_program_t* hx711_multi_config_t::reader_prog |
PIO reader program.
Definition at line 187 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().
hx711_multi_program_init_t hx711_multi_config_t::reader_prog_init |
PIO reader init function. This is called to set up the State Machine for the reader program. It is called once prior to the State Machine being enabled.
Definition at line 194 of file hx711_multi.h.
Referenced by hx711_multi__init_asert(), and hx711_multi_init().