|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Header file for extended API of Voltage Divider. More...
#include <zephyr/drivers/adc.h>Go to the source code of this file.
Data Structures | |
| struct | voltage_divider_dt_spec |
| Voltage divider DT struct. More... | |
Macros | |
| #define | VOLTAGE_DIVIDER_DT_SPEC_GET(node_id) |
| Get voltage divider information from devicetree. | |
Functions | |
| static int | voltage_divider_scale_dt (const struct voltage_divider_dt_spec *spec, int32_t *v_to_v) |
| Calculates the actual voltage from a measured voltage. | |
Header file for extended API of Voltage Divider.