Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
SMBus callback structure. More...
#include <smbus.h>
Data Fields | |
sys_snode_t | node |
This should be used in driver for a callback list management. | |
smbus_callback_handler_t | handler |
Actual callback function being called when relevant. | |
uint8_t | addr |
Peripheral device address. | |
SMBus callback structure.
Used to register a callback in the driver instance callback list. As many callbacks as needed can be added as long as each of them is a unique pointer of struct smbus_callback.
Note: Such struct should not be allocated on stack.
uint8_t smbus_callback::addr |
Peripheral device address.
smbus_callback_handler_t smbus_callback::handler |
Actual callback function being called when relevant.
sys_snode_t smbus_callback::node |
This should be used in driver for a callback list management.