|
| enum | NCA9595_reg {
NCA9595__InputPort0 = 0U
, NCA9595__InputPort1
, NCA9595__OutputPort0
, NCA9595__OutputPort1
,
NCA9595__PolarityPort0
, NCA9595__PolarityPort1
, NCA9595__ConfigPort0
, NCA9595__ConfigPort1
,
NCA9595__PullUpConfigPort0
, NCA9595__PullUpConfigPort1
} |
| | Register map enum of NCA9595. More...
|
| |
| enum | NCA9595_wreg {
NCA9595__InputPorts = NCA9595__InputPort0
, NCA9595__OutputPorts = NCA9595__OutputPort0
, NCA9595__PolarityPorts = NCA9595__PolarityPort0
, NCA9595__ConfigPorts = NCA9595__ConfigPort0
,
NCA9595__PullUpConfigPorts = NCA9595__PullUpConfigPort0
} |
| | Register map enum of NCA9595. More...
|
| |
| enum | NCA9595_Config { NCA9595__Cfg_Output = 0U
, NCA9595__Cfg_Input
} |
| | Configuration register values for NCA9595. More...
|
| |
| enum | NCA9595_Polarity { NCA9595__Pol_Direct = 0U
, NCA9595__Pol_Invert
} |
| | Polarity inversion register values for NCA9595. More...
|
| |
| enum | NCA9595_PullUp { NCA9595__PUp_Disable = 0U
, NCA9595__PUp_Enable
} |
| | Pull-Up configuration register values for NCA9595. More...
|
| |
|
| 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.
- Author
- SMFSW
- Copyright
- MIT (c) 2017-2026, SMFSW
NCA9595: Low-voltage 16-bit I²C and SMBus I/O expander