Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
voltage_divider_dt_spec Struct Reference

Voltage divider DT struct. More...

#include <zephyr/drivers/adc/voltage_divider.h>

Data Fields

const struct adc_dt_spec port
 ADC channel info.
uint32_t full_ohms
 Full resistance in ohms.
uint32_t output_ohms
 Output resistance in ohms.

Detailed Description

Voltage divider DT struct.

This stores information about a voltage divider obtained from Devicetree.

See also
VOLTAGE_DIVIDER_DT_SPEC_GET

Field Documentation

◆ full_ohms

uint32_t voltage_divider_dt_spec::full_ohms

Full resistance in ohms.

◆ output_ohms

uint32_t voltage_divider_dt_spec::output_ohms

Output resistance in ohms.

◆ port

const struct adc_dt_spec voltage_divider_dt_spec::port

ADC channel info.


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