|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
Avia Semiconductor HX711 24-bit ADC Specialized for Load Cells / Strain Gauges. More...
Files | |
| file | hx711.h |
| Header file for extended sensor API of HX711 sensor. | |
Enumerations | |
| enum | sensor_channel_hx711 { SENSOR_CHAN_HX711_MASS = SENSOR_CHAN_PRIV_START } |
| Custom sensor channels for HX711. More... | |
| enum | sensor_attribute_hx711 { SENSOR_ATTR_HX711_CONV_FACTOR = SENSOR_ATTR_PRIV_START , SENSOR_ATTR_HX711_OFFSET = SENSOR_ATTR_PRIV_START + 1 } |
| Custom sensor attributes for HX711. More... | |
| enum | hx711_gain { HX711_GAIN_64 , HX711_GAIN_128 } |
| Gain options for the next read operation. More... | |
Avia Semiconductor HX711 24-bit ADC Specialized for Load Cells / Strain Gauges.
| enum hx711_gain |
#include <zephyr/drivers/sensor/hx711.h>
Gain options for the next read operation.
| Enumerator | |
|---|---|
| HX711_GAIN_64 | Gain = 64. |
| HX711_GAIN_128 | Gain = 128. |
#include <zephyr/drivers/sensor/hx711.h>
Custom sensor attributes for HX711.
| Enumerator | |
|---|---|
| SENSOR_ATTR_HX711_CONV_FACTOR | Voltage to mass conversion factor in kg/uV. |
| SENSOR_ATTR_HX711_OFFSET | Voltage offset to the real zero of the sensor, used in mass conversion. |
| enum sensor_channel_hx711 |
#include <zephyr/drivers/sensor/hx711.h>
Custom sensor channels for HX711.
| Enumerator | |
|---|---|
| SENSOR_CHAN_HX711_MASS | Measured mass in grams. |