|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
ADS1115 user interface struct. More...
#include <ADS1115_proc.h>

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 |
ADS1115 user interface struct.
| int16_t ADS1115_t::AIN[4] |
Conversion results.
| uint8_t ADS1115_t::AIN_idx |
Current AIN index.
| struct { ... } ADS1115_t::cfg |
| uADS1115_REG__CFG ADS1115_t::Config |
Config register.
| ADS1115_func ADS1115_t::function |
Functional mode.
| int16_t ADS1115_t::Hi_Thresh |
Hi-thresh register.
| int16_t ADS1115_t::Lo_Thresh |
Lo-thresh register.
| ADS1115_mode ADS1115_t::mode |
Mode (single shot / Continuous conversion).
| uint8_t ADS1115_t::nb |
Number of channels (irrelevant for ADS1115__FUNC_SINGLE_DIFF func).
| PeripheralGPIO_t ADS1115_t::RDY_GPIO |
Ready GPIO struct.
| I2C_slave_t* ADS1115_t::slave_inst |
Slave structure.