|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
nPM13xx event callback. More...
#include <zephyr/drivers/mfd/npm13xx.h>
Data Fields | |
| sys_snode_t | node |
| Internal list node. | |
| npm13xx_event_t | event_mask |
| Events to subscribe to, as a bitwise OR of BIT(NPM13XX_EVENT_*) values. | |
| npm13xx_callback_handler_t | handler |
| Handler called for a matching event. | |
nPM13xx event callback.
The callback must remain valid while registered. A handler may remove its own callback, but not another callback. List updates from other threads must be serialized with each other and with dispatch.
| npm13xx_event_t mfd_npm13xx_event_callback::event_mask |
Events to subscribe to, as a bitwise OR of BIT(NPM13XX_EVENT_*) values.
| npm13xx_callback_handler_t mfd_npm13xx_event_callback::handler |
Handler called for a matching event.
| sys_snode_t mfd_npm13xx_event_callback::node |
Internal list node.