|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
nPM2100 event callback. More...
#include <zephyr/drivers/mfd/npm2100.h>
Data Fields | |
| sys_snode_t | node |
| Internal list node. | |
| npm2100_event_t | event_mask |
| Events to subscribe to, as a bitwise OR of BIT(NPM2100_EVENT_*) values. | |
| npm2100_callback_handler_t | handler |
| Handler called for a matching event. | |
nPM2100 event callback.
Keep the callback valid while registered and during dispatch. 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.
| npm2100_event_t mfd_npm2100_event_callback::event_mask |
Events to subscribe to, as a bitwise OR of BIT(NPM2100_EVENT_*) values.
| npm2100_callback_handler_t mfd_npm2100_event_callback::handler |
Handler called for a matching event.
| sys_snode_t mfd_npm2100_event_callback::node |
Internal list node.