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


Functions | |
| FctERR | NCA9595_Read_Register (NCA9595_t *const pCpnt, uint16_t *const data, const NCA9595_wreg reg) |
| Read Register of NCA9595 peripheral. | |
| FctERR | NCA9595_Read_Inputs (NCA9595_t *const pCpnt, uint16_t *const in) |
| Read Inputs for NCA9595 peripheral. | |
| FctERR | NCA9595_Read_Inputs_Union (NCA9595_t *const pCpnt, uNCA9595_REG__IN *const in) |
| Read Inputs for NCA9595 peripheral (using union) | |
| FctERR | NCA9595_Write_Outputs (NCA9595_t *const pCpnt, const uint16_t out) |
| Write Outputs for NCA9595 peripheral. | |
| FctERR | NCA9595_Write_Outputs_Mask (NCA9595_t *const pCpnt, const uint16_t out, const uint16_t mask) |
| Write Outputs with mask for NCA9595 peripheral. | |
| FctERR | NCA9595_Write_Outputs_Union (NCA9595_t *const pCpnt, const uNCA9595_REG__OUT out) |
| Write Outputs for NCA9595 peripheral (using union) | |
| FctERR | NCA9595_Set_Config (NCA9595_t *const pCpnt, const uint16_t cfg) |
| Set GPIOs configuration for NCA9595 peripheral. | |
| FctERR | NCA9595_Set_Config_Mask (NCA9595_t *const pCpnt, const uint16_t cfg, const uint16_t mask) |
| Set GPIOs configuration with mask for NCA9595 peripheral. | |
| FctERR | NCA9595_Set_Config_Union (NCA9595_t *const pCpnt, const uNCA9595_REG__CFG cfg) |
| Set GPIOs configuration for NCA9595 peripheral (using union) | |
| FctERR | NCA9595_Set_Polarity (NCA9595_t *const pCpnt, const uint16_t pol) |
| Set Inputs polarity for NCA9595 peripheral. | |
| FctERR | NCA9595_Set_Polarity_Mask (NCA9595_t *const pCpnt, const uint16_t pol, const uint16_t mask) |
| Set Inputs polarity with mask for NCA9595 peripheral. | |
| FctERR | NCA9595_Set_Polarity_Union (NCA9595_t *const pCpnt, const uNCA9595_REG__POL pol) |
| Set Inputs polarity for NCA9595 peripheral (using union) | |
| FctERR | NCA9595_Set_PullUp (NCA9595_t *const pCpnt, const uint16_t pullup) |
| Set Outputs pull-up for NCA9595 peripheral. | |
| FctERR | NCA9595_Set_PullUp_Mask (NCA9595_t *const pCpnt, const uint16_t pullup, const uint16_t mask) |
| Set Outputs pull-up with mask for NCA9595 peripheral. | |
| FctERR | NCA9595_Set_PullUp_Union (NCA9595_t *const pCpnt, const uNCA9595_REG__PUP pullup) |
| Set Outputs pull-up for NCA9595 peripheral (using union) | |
| void | NCA9595_INT_GPIO_Init (NCA9595_t *const pCpnt, GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const GPIO_PinState GPIO_Active) |
| Interrupt GPIO pin init for NCA9595. | |
| bool | NCA9595_INT_GPIO_Get (const NCA9595_t *const pCpnt) |
| Interrupt GPIO pin getter for ADS1115. | |
NCA9595 Driver extensions.
NCA9595: Low-voltage 16-bit I²C and SMBus I/O expander
| bool NCA9595_INT_GPIO_Get | ( | const NCA9595_t *const | pCpnt | ) |
Interrupt GPIO pin getter for ADS1115.
| [in] | pCpnt | - Pointer to NCA9595 component |


| void NCA9595_INT_GPIO_Init | ( | NCA9595_t *const | pCpnt, |
| GPIO_TypeDef *const | GPIOx, | ||
| const uint16_t | GPIO_Pin, | ||
| const GPIO_PinState | GPIO_Active ) |
Interrupt GPIO pin init for NCA9595.
| [in] | pCpnt | - Pointer to NCA9595 component |
| [in] | GPIOx | - INT port |
| [in] | GPIO_Pin | - INT pin |
| [in] | GPIO_Active | INT pin active state |

| FctERR NCA9595_Read_Inputs | ( | NCA9595_t *const | pCpnt, |
| uint16_t *const | in ) |
Read Inputs for NCA9595 peripheral.
| [in,out] | pCpnt | - Pointer to NCA9595 component |
| [in,out] | in | - Input values (MSB: Port 1 / LSB: Port 0) |


|
inline |
Read Inputs for NCA9595 peripheral (using union)
| [in,out] | pCpnt | - Pointer to NCA9595 component |
| [in,out] | in | - Input union values |

|
inline |
Read Register of NCA9595 peripheral.
| [in,out] | pCpnt | - Pointer to NCA9595 component |
| [in,out] | data | - Pointer to read register value |
| [in] | reg | - Register address |


| FctERR NCA9595_Set_Config | ( | NCA9595_t *const | pCpnt, |
| const uint16_t | cfg ) |
Set GPIOs configuration for NCA9595 peripheral.
| [in,out] | pCpnt | - Pointer to NCA9595 component |
| [in] | cfg | - Configuration values (MSB: Port 1 / LSB: Port 0) |


| FctERR NCA9595_Set_Config_Mask | ( | NCA9595_t *const | pCpnt, |
| const uint16_t | cfg, | ||
| const uint16_t | mask ) |
Set GPIOs configuration with mask for NCA9595 peripheral.
| [in,out] | pCpnt | - Pointer to NCA9595 component |
| [in] | cfg | - Configuration values (MSB: Port 1 / LSB: Port 0) |
| [in] | mask | - GPIOs mask (MSB: Port 1 / LSB: Port 0) |

|
inline |
Set GPIOs configuration for NCA9595 peripheral (using union)
| [in,out] | pCpnt | - Pointer to NCA9595 component |
| [in] | cfg | - Configuration union values |

| FctERR NCA9595_Set_Polarity | ( | NCA9595_t *const | pCpnt, |
| const uint16_t | pol ) |
Set Inputs polarity for NCA9595 peripheral.
| [in] | pCpnt | - Pointer to NCA9595 component |
| [in] | pol | - Polarity values (MSB: Port 1 / LSB: Port 0) |


| FctERR NCA9595_Set_Polarity_Mask | ( | NCA9595_t *const | pCpnt, |
| const uint16_t | pol, | ||
| const uint16_t | mask ) |
Set Inputs polarity with mask for NCA9595 peripheral.
| [in] | pCpnt | - Pointer to NCA9595 component |
| [in] | pol | - Polarity values (MSB: Port 1 / LSB: Port 0) |
| [in] | mask | - Inputs mask (MSB: Port 1 / LSB: Port 0) |
|
inline |
Set Inputs polarity for NCA9595 peripheral (using union)
| [in] | pCpnt | - Pointer to NCA9595 component |
| [in] | pol | - Polarity union values |

| FctERR NCA9595_Set_PullUp | ( | NCA9595_t *const | pCpnt, |
| const uint16_t | pullup ) |
Set Outputs pull-up for NCA9595 peripheral.
| [in] | pCpnt | - Pointer to NCA9595 component |
| [in] | pullup | - Pull-up values (MSB: Port 1 / LSB: Port 0) |


| FctERR NCA9595_Set_PullUp_Mask | ( | NCA9595_t *const | pCpnt, |
| const uint16_t | pullup, | ||
| const uint16_t | mask ) |
Set Outputs pull-up with mask for NCA9595 peripheral.
| [in] | pCpnt | - Pointer to NCA9595 component |
| [in] | pullup | - Pull-up values (MSB: Port 1 / LSB: Port 0) |
| [in] | mask | - Outputs mask (MSB: Port 1 / LSB: Port 0) |
|
inline |
Set Outputs pull-up for NCA9595 peripheral (using union)
| [in] | pCpnt | - Pointer to NCA9595 component |
| [in] | pullup | - Pull-up union values |

| FctERR NCA9595_Write_Outputs | ( | NCA9595_t *const | pCpnt, |
| const uint16_t | out ) |
Write Outputs for NCA9595 peripheral.
| [in,out] | pCpnt | - Pointer to NCA9595 component |
| [in] | out | - Output values (MSB: Port 1 / LSB: Port 0) |


| FctERR NCA9595_Write_Outputs_Mask | ( | NCA9595_t *const | pCpnt, |
| const uint16_t | out, | ||
| const uint16_t | mask ) |
Write Outputs with mask for NCA9595 peripheral.
| [in,out] | pCpnt | - Pointer to NCA9595 component |
| [in] | out | - Output values (MSB: Port 1 / LSB: Port 0) |
| [in] | mask | - Outputs mask (MSB: Port 1 / LSB: Port 0) |

|
inline |
Write Outputs for NCA9595 peripheral (using union)
| [in,out] | pCpnt | - Pointer to NCA9595 component |
| [in] | out | - Output union values |
