Zephyr API Documentation 4.2.0-rc2
A Scalable Open Source RTOS
 4.2.0-rc2
current_sense_amplifier_dt_spec Struct Reference

#include <current_sense_amplifier.h>

Data Fields

struct adc_dt_spec port
struct gpio_dt_spec power_gpio
uint32_t sense_milli_ohms
uint16_t sense_gain_mult
uint16_t sense_gain_div
uint16_t noise_threshold
int16_t zero_current_voltage_mv
bool enable_calibration

Field Documentation

◆ enable_calibration

bool current_sense_amplifier_dt_spec::enable_calibration

◆ noise_threshold

uint16_t current_sense_amplifier_dt_spec::noise_threshold

◆ port

struct adc_dt_spec current_sense_amplifier_dt_spec::port

◆ power_gpio

struct gpio_dt_spec current_sense_amplifier_dt_spec::power_gpio

◆ sense_gain_div

uint16_t current_sense_amplifier_dt_spec::sense_gain_div

◆ sense_gain_mult

uint16_t current_sense_amplifier_dt_spec::sense_gain_mult

◆ sense_milli_ohms

uint32_t current_sense_amplifier_dt_spec::sense_milli_ohms

◆ zero_current_voltage_mv

int16_t current_sense_amplifier_dt_spec::zero_current_voltage_mv

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