Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
voltage_divider.h File Reference

Header file for extended API of Voltage Divider. More...

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.

Detailed Description

Header file for extended API of Voltage Divider.