rmstodc2 2.1.0.0
rmstodc2_t Struct Reference

RMS to DC 2 Click context object. More...

#include <rmstodc2.h>

Data Fields

analog_in_t adc
 
i2c_master_t i2c
 
uint8_t slave_address
 
float vref
 
rmstodc2_drv_t drv_sel
 

Detailed Description

RMS to DC 2 Click context object.

Context object definition of RMS to DC 2 Click driver.

Field Documentation

◆ adc

analog_in_t adc

ADC module object.

◆ drv_sel

rmstodc2_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ vref

float vref

ADC reference voltage.


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