|
| LOG_MODULE_REGISTER (gpio_pca9555_regrst) |
|
static int | read_port_regs (const struct device *dev, uint8_t reg, uint16_t *cache, uint16_t *buf) |
| Read both port 0 and port 1 registers of certain register function.
|
|
static int | write_port_regs (const struct device *dev, uint8_t reg, uint16_t *cache, uint16_t value) |
| Write both port 0 and port 1 registers of certain register function.
|
|
static int | update_input_regs (const struct device *dev, uint16_t *buf) |
|
static int | update_output_regs (const struct device *dev, uint16_t value) |
|
static int | update_direction_regs (const struct device *dev, uint16_t value) |
|
static int | setup_pin_dir (const struct device *dev, uint32_t pin, int flags) |
| Setup the pin direction (input or output)
|
|
static int | gpio_pca9555_regrst_config (const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) |
| Configure pin or port.
|
|
static int | gpio_pca9555_regrst_port_get_raw (const struct device *dev, uint32_t *value) |
|
static int | gpio_pca9555_regrst_port_set_masked_raw (const struct device *dev, uint32_t mask, uint32_t value) |
|
static int | gpio_pca9555_regrst_port_set_bits_raw (const struct device *dev, uint32_t mask) |
|
static int | gpio_pca9555_regrst_port_clear_bits_raw (const struct device *dev, uint32_t mask) |
|
static int | gpio_pca9555_regrst_port_toggle_bits (const struct device *dev, uint32_t mask) |
|
static int | gpio_pca9555_regrst_pin_interrupt_configure (const struct device *dev, gpio_pin_t pin, enum gpio_int_mode mode, enum gpio_int_trig trig) |
|
static int | gpio_pca9555_regrst_reset_defaults (const struct device *dev) |
| Reset defaults function of PCA9555.
|
|
static int | gpio_pca9555_regrst_init (const struct device *dev) |
| Initialization function of PCA9555.
|
|
Driver for an PCA9555 I2C-based GPIO controller (w/regrst)