Home
last modified time | relevance | path

Searched refs:pcal64xxa_i2c_write (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/gpio/
Dgpio_pcal64xxa.c419 static int pcal64xxa_i2c_write(const struct i2c_dt_spec *i2c, uint8_t register_address, in pcal64xxa_i2c_write() function
455 rc = pcal64xxa_i2c_write(i2c, PCAL6408A_REG_PULL_UP_DOWN_SELECT, in pcal6408a_pins_cfg_apply()
461 rc = pcal64xxa_i2c_write(i2c, PCAL6408A_REG_PULL_UP_DOWN_ENABLE, in pcal6408a_pins_cfg_apply()
467 rc = pcal64xxa_i2c_write(i2c, PCAL6408A_REG_OUTPUT_PORT, (uint8_t)pins_cfg->outputs_high); in pcal6408a_pins_cfg_apply()
472 rc = pcal64xxa_i2c_write(i2c, PCAL6408A_REG_CONFIGURATION, in pcal6408a_pins_cfg_apply()
550 rc = pcal64xxa_i2c_write(i2c, PCAL6408A_REG_OUTPUT_PORT, (uint8_t)outputs); in pcal6408a_outputs_write()
567 rc = pcal64xxa_i2c_write(i2c, PCAL6408A_REG_INPUT_LATCH, (uint8_t)input_latch); in pcal6408a_triggers_apply()
573 rc = pcal64xxa_i2c_write(i2c, PCAL6408A_REG_INTERRUPT_MASK, (uint8_t)interrupt_mask); in pcal6408a_triggers_apply()
593 rc = pcal64xxa_i2c_write(i2c, reset_state[i][0], reset_state[i][1]); in pcal6408a_reset_state_apply()
619 rc = pcal64xxa_i2c_write(i2c, PCAL6416A_REG_PULL_UP_DOWN_SELECT_0, in pcal6416a_pins_cfg_apply()
[all …]