hx711-pico-c
hx711_multi_t Struct Reference

#include <hx711_multi.h>

Data Fields

uint _clock_pin
 
uint _data_pin_base
 
size_t _chips_len
 
PIO _pio
 
const pio_program_t * _awaiter_prog
 
pio_sm_config _awaiter_default_config
 
uint _awaiter_sm
 
uint _awaiter_offset
 
const pio_program_t * _reader_prog
 
pio_sm_config _reader_default_config
 
uint _reader_sm
 
uint _reader_offset
 
uint _dma_channel
 
uint32_t _buffer [HX711_READ_BITS]
 
uint _pio_irq_index
 
uint _dma_irq_index
 
volatile hx711_multi_async_state_t _async_state
 
mutex_t _mut
 

Detailed Description

Definition at line 92 of file hx711_multi.h.

Field Documentation

◆ _async_state

◆ _awaiter_default_config

pio_sm_config hx711_multi_t::_awaiter_default_config

Definition at line 101 of file hx711_multi.h.

Referenced by hx711_multi_awaiter_program_init(), and hx711_multi_power_up().

◆ _awaiter_offset

uint hx711_multi_t::_awaiter_offset

◆ _awaiter_prog

const pio_program_t* hx711_multi_t::_awaiter_prog

Definition at line 100 of file hx711_multi.h.

Referenced by hx711_multi__init_pio(), hx711_multi_close(), and hx711_multi_init().

◆ _awaiter_sm

◆ _buffer

uint32_t hx711_multi_t::_buffer[HX711_READ_BITS]

Definition at line 112 of file hx711_multi.h.

Referenced by hx711_multi__async_start_dma(), and hx711_multi_async_get_values().

◆ _chips_len

◆ _clock_pin

uint hx711_multi_t::_clock_pin

◆ _data_pin_base

uint hx711_multi_t::_data_pin_base

◆ _dma_channel

◆ _dma_irq_index

◆ _mut

◆ _pio

◆ _pio_irq_index

◆ _reader_default_config

pio_sm_config hx711_multi_t::_reader_default_config

Definition at line 106 of file hx711_multi.h.

Referenced by hx711_multi_power_up(), and hx711_multi_reader_program_init().

◆ _reader_offset

uint hx711_multi_t::_reader_offset

◆ _reader_prog

const pio_program_t* hx711_multi_t::_reader_prog

Definition at line 105 of file hx711_multi.h.

Referenced by hx711_multi__init_pio(), hx711_multi_close(), and hx711_multi_init().

◆ _reader_sm


The documentation for this struct was generated from the following file: