|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Driver Operations I2C Target driver operations More...
#include <zephyr/drivers/i2c.h>
Data Fields | |
| i2c_target_api_register_t | driver_register |
| REQ Instructs the I2C Target device to register itself to the I2C Controller. | |
| i2c_target_api_unregister_t | driver_unregister |
| REQ Instructs the I2C Target device to unregister itself from the I2C Controller. | |
Driver Operations I2C Target driver operations
This is the driver API structure any I2C Target driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.
Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.
| i2c_target_api_register_t i2c_target_driver_api::driver_register |
REQ Instructs the I2C Target device to register itself to the I2C Controller.
| i2c_target_api_unregister_t i2c_target_driver_api::driver_unregister |
REQ Instructs the I2C Target device to unregister itself from the I2C Controller.