no-OS
Loading...
Searching...
No Matches
ad4170_iio_dev Struct Reference

AD4170 IIO device descriptor. More...

#include <iio_ad4170.h>

Public Attributes

struct ad4170_dev * ad4170_dev
 
struct iio_device * iio_dev
 
struct scan_type * scan_types
 
uint32_t vref_mv
 
uint32_t mclk_hz
 
uint32_t active_channels
 
uint8_t num_active_channels
 
uint16_t prev_channel_en
 
enum ad4170_mode prev_mode
 
bool prev_multi_data_reg_sel
 

Detailed Description

AD4170 IIO device descriptor.

Member Data Documentation

◆ active_channels

uint32_t ad4170_iio_dev::active_channels

Mask of the channels enabled by the current buffer.

◆ ad4170_dev

struct ad4170_dev* ad4170_iio_dev::ad4170_dev

AD4170 device descriptor.

◆ iio_dev

struct iio_device* ad4170_iio_dev::iio_dev

IIO device descriptor.

◆ mclk_hz

uint32_t ad4170_iio_dev::mclk_hz

Master clock frequency in Hz the digital filter runs from.

◆ num_active_channels

uint8_t ad4170_iio_dev::num_active_channels

Number of channels the mask above enables.

◆ prev_channel_en

uint16_t ad4170_iio_dev::prev_channel_en

Channel_En to restore once the buffered read is done.

◆ prev_mode

enum ad4170_mode ad4170_iio_dev::prev_mode

Operating mode to restore once the buffered read is done.

◆ prev_multi_data_reg_sel

bool ad4170_iio_dev::prev_multi_data_reg_sel

Data register selection to restore once the buffered read is done.

◆ scan_types

struct scan_type* ad4170_iio_dev::scan_types

Scan type of every IIO channel.

◆ vref_mv

uint32_t ad4170_iio_dev::vref_mv

Reference voltage in mV, ignored when REFOUT is selected.


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