Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
i2c_target_callbacks Struct Reference

Structure providing callbacks to be implemented for devices that supports the I2C target API. More...

#include <i2c.h>

Data Fields

i2c_target_write_requested_cb_t write_requested
 
i2c_target_read_requested_cb_t read_requested
 
i2c_target_write_received_cb_t write_received
 
i2c_target_read_processed_cb_t read_processed
 
i2c_target_stop_cb_t stop
 

Detailed Description

Structure providing callbacks to be implemented for devices that supports the I2C target API.

This structure may be shared by multiple devices that implement the same API at different addresses on the bus.

Field Documentation

◆ read_processed

i2c_target_read_processed_cb_t i2c_target_callbacks::read_processed

◆ read_requested

i2c_target_read_requested_cb_t i2c_target_callbacks::read_requested

◆ stop

i2c_target_stop_cb_t i2c_target_callbacks::stop

◆ write_received

i2c_target_write_received_cb_t i2c_target_callbacks::write_received

◆ write_requested

i2c_target_write_requested_cb_t i2c_target_callbacks::write_requested

The documentation for this struct was generated from the following file: