|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
ADS1115 Driver. More...

Functions | |
| FctERR | ADS1115_Init (const uint8_t idx, I2C_HandleTypeDef *const hi2c, const uint16_t devAddress) |
| Initialization for ADS1115 peripheral. | |
| FctERR | ADS1115_Init_Single (void) |
| Initialization for ADS1115 peripheral. | |
| FctERR | ADS1115_Write (I2C_slave_t *const pSlave, const uint16_t *data, const uint16_t addr) |
| I2C Write function for ADS1115. | |
| FctERR | ADS1115_Read (I2C_slave_t *const pSlave, uint16_t *data, const uint16_t addr) |
| I2C Read function for ADS1115. | |
ADS1115 Driver.
ADS1115: Ultra-Small, Low-Power, 16-Bit Analog-to-Digital Converter with Internal Reference
| FctERR ADS1115_Init | ( | const uint8_t | idx, |
| I2C_HandleTypeDef *const | hi2c, | ||
| const uint16_t | devAddress ) |
Initialization for ADS1115 peripheral.
| [in] | idx | - ADS1115 index |
| [in] | hi2c | - pointer to ADS1115 I2C instance |
| [in] | devAddress | - ADS1115 device address |


| FctERR ADS1115_Init_Single | ( | void | ) |
Initialization for ADS1115 peripheral.

| FctERR ADS1115_Read | ( | I2C_slave_t *const | pSlave, |
| uint16_t * | data, | ||
| const uint16_t | addr ) |
I2C Read function for ADS1115.
| [in] | pSlave | - Pointer to I2C slave instance |
| [in,out] | data | - pointer to read to |
| [in] | addr | - Address to read from |


| FctERR ADS1115_Write | ( | I2C_slave_t *const | pSlave, |
| const uint16_t * | data, | ||
| const uint16_t | addr ) |
I2C Write function for ADS1115.
| [in] | pSlave | - Pointer to I2C slave instance |
| [in] | data | - pointer to write from |
| [in] | addr | - Address to write to |

