|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
NCA9595 Driver. More...
#include "NCA9595.h"
Functions | |
| FctERR | NCA9595_Init (const uint8_t idx, I2C_HandleTypeDef *const hi2c, const uint16_t devAddress) |
| Initialization for NCA9595 peripheral. | |
| FctERR | NCA9595_Init_Single (void) |
| Initialization for NCA9595 peripheral. | |
| FctERR | NCA9595_Write_Word (I2C_slave_t *const pSlave, const uint16_t *data, const uint16_t addr) |
| I2C Write function for NCA9595. | |
| FctERR | NCA9595_Read_Word (I2C_slave_t *const pSlave, uint16_t *data, const uint16_t addr) |
| I2C Read function for NCA9595. | |
NCA9595 Driver.
NCA9595: Low-voltage 16-bit I²C and SMBus I/O expander
| FctERR NCA9595_Init | ( | const uint8_t | idx, |
| I2C_HandleTypeDef *const | hi2c, | ||
| const uint16_t | devAddress ) |
Initialization for NCA9595 peripheral.
| [in] | idx | - NCA9595 index |
| [in] | hi2c | - pointer to NCA9595 I2C instance |
| [in] | devAddress | - NCA9595 device address |


| FctERR NCA9595_Init_Single | ( | void | ) |
Initialization for NCA9595 peripheral.

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


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

