Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ads131m02.h File Reference
#include <zephyr/device.h>

Go to the source code of this file.

Enumerations

enum  ads131m02_adc_mode { ADS131M02_CONTINUOUS_MODE , ADS131M02_GLOBAL_CHOP_MODE }
 
enum  ads131m02_adc_power_mode { ADS131M02_VLP , ADS131M02_LP , ADS131M02_HR }
 
enum  ads131m02_gc_delay {
  ADS131M02_GC_DELAY_2 , ADS131M02_GC_DELAY_4 , ADS131M02_GC_DELAY_8 , ADS131M02_GC_DELAY_16 ,
  ADS131M02_GC_DELAY_32 , ADS131M02_GC_DELAY_64 , ADS131M02_GC_DELAY_128 , ADS131M02_GC_DELAY_256 ,
  ADS131M02_GC_DELAY_512 , ADS131M02_GC_DELAY_1024 , ADS131M02_GC_DELAY_2048 , ADS131M02_GC_DELAY_4096 ,
  ADS131M02_GC_DELAY_8192 , ADS131M02_GC_DELAY_16384 , ADS131M02_GC_DELAY_32768 , ADS131M02_GC_DELAY_65536
}
 

Functions

int ads131m02_set_adc_mode (const struct device *dev, enum ads131m02_adc_mode mode, enum ads131m02_gc_delay gc_delay)
 
int ads131m02_set_power_mode (const struct device *dev, enum ads131m02_adc_power_mode mode)
 

Enumeration Type Documentation

◆ ads131m02_adc_mode

Enumerator
ADS131M02_CONTINUOUS_MODE 
ADS131M02_GLOBAL_CHOP_MODE 

◆ ads131m02_adc_power_mode

Enumerator
ADS131M02_VLP 
ADS131M02_LP 
ADS131M02_HR 

◆ ads131m02_gc_delay

Enumerator
ADS131M02_GC_DELAY_2 
ADS131M02_GC_DELAY_4 
ADS131M02_GC_DELAY_8 
ADS131M02_GC_DELAY_16 
ADS131M02_GC_DELAY_32 
ADS131M02_GC_DELAY_64 
ADS131M02_GC_DELAY_128 
ADS131M02_GC_DELAY_256 
ADS131M02_GC_DELAY_512 
ADS131M02_GC_DELAY_1024 
ADS131M02_GC_DELAY_2048 
ADS131M02_GC_DELAY_4096 
ADS131M02_GC_DELAY_8192 
ADS131M02_GC_DELAY_16384 
ADS131M02_GC_DELAY_32768 
ADS131M02_GC_DELAY_65536 

Function Documentation

◆ ads131m02_set_adc_mode()

int ads131m02_set_adc_mode ( const struct device * dev,
enum ads131m02_adc_mode mode,
enum ads131m02_gc_delay gc_delay )

◆ ads131m02_set_power_mode()

int ads131m02_set_power_mode ( const struct device * dev,
enum ads131m02_adc_power_mode mode )