|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
nPM10xx MFD callback structure More...
#include <zephyr/drivers/mfd/npm10xx.h>
Data Fields | |
| sys_snode_t | node |
| Intended for internal use by the driver. | |
| npm10xx_event_t | event_mask |
| A set of events the callback is intrested in. | |
| npm10xx_callback_handler_t | handler |
| Function to be called when any of the provided events occur. | |
nPM10xx MFD 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 are unique pointers of struct mfd_npm10xx_event_callback.
| npm10xx_event_t mfd_npm10xx_event_callback::event_mask |
A set of events the callback is intrested in.
May be constructed by a bitwise-OR of any number of the NPM10XX_EVENT_* macros.
| npm10xx_callback_handler_t mfd_npm10xx_event_callback::handler |
Function to be called when any of the provided events occur.
| sys_snode_t mfd_npm10xx_event_callback::node |
Intended for internal use by the driver.
Do not use in application.