Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_numaker.c521 const struct i2c_target_callbacks *slave_callbacks = in i2c_numaker_isr() local
600 if (slave_callbacks->read_requested(slave_config, &data_byte) == 0) { in i2c_numaker_isr()
611 if (slave_callbacks->read_processed(slave_config, &data_byte) == 0) { in i2c_numaker_isr()
625 slave_callbacks->stop(slave_config); in i2c_numaker_isr()
631 if (slave_callbacks->write_received(slave_config, data_byte) == 0) { in i2c_numaker_isr()
642 slave_callbacks->stop(slave_config); in i2c_numaker_isr()
648 if (slave_callbacks->write_requested(slave_config) == 0) { in i2c_numaker_isr()
659 slave_callbacks->stop(slave_config); in i2c_numaker_isr()