I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
Loading...
Searching...
No Matches
ADS1115_t Struct Reference

ADS1115 user interface struct. More...

#include <ADS1115_proc.h>

Collaboration diagram for ADS1115_t:

Data Fields

int16_t AIN [4]
 Conversion results.
 
uint8_t AIN_idx
 Current AIN index.
 
struct { 
 
   I2C_slave_t *   slave_inst 
 Slave structure. More...
 
   PeripheralGPIO_t   RDY_GPIO 
 Ready GPIO struct. More...
 
   ADS1115_func   function 
 Functional mode. More...
 
   ADS1115_mode   mode 
 Mode (single shot / Continuous conversion) More...
 
   uint8_t   nb 
 Number of channels (irrelevant for ADS1115__FUNC_SINGLE_DIFF func) More...
 
   uADS1115_REG__CFG   Config 
 Config register. More...
 
   int16_t   Lo_Thresh 
 Lo-thresh register. More...
 
   int16_t   Hi_Thresh 
 Hi-thresh register. More...
 
cfg 
 

Detailed Description

ADS1115 user interface struct.

Field Documentation

◆ AIN

int16_t ADS1115_t::AIN[4]

Conversion results.

◆ AIN_idx

uint8_t ADS1115_t::AIN_idx

Current AIN index.

◆ [struct]

struct { ... } ADS1115_t::cfg

◆ Config

uADS1115_REG__CFG ADS1115_t::Config

Config register.

◆ function

ADS1115_func ADS1115_t::function

Functional mode.

◆ Hi_Thresh

int16_t ADS1115_t::Hi_Thresh

Hi-thresh register.

◆ Lo_Thresh

int16_t ADS1115_t::Lo_Thresh

Lo-thresh register.

◆ mode

ADS1115_mode ADS1115_t::mode

Mode (single shot / Continuous conversion)

◆ nb

uint8_t ADS1115_t::nb

Number of channels (irrelevant for ADS1115__FUNC_SINGLE_DIFF func)

◆ RDY_GPIO

PeripheralGPIO_t ADS1115_t::RDY_GPIO

Ready GPIO struct.

◆ slave_inst

I2C_slave_t* ADS1115_t::slave_inst

Slave structure.


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