Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mfd_npm13xx_event_callback Struct Reference

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.

Detailed Description

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.

Field Documentation

◆ event_mask

npm13xx_event_t mfd_npm13xx_event_callback::event_mask

Events to subscribe to, as a bitwise OR of BIT(NPM13XX_EVENT_*) values.

◆ handler

npm13xx_callback_handler_t mfd_npm13xx_event_callback::handler

Handler called for a matching event.

◆ node

sys_snode_t mfd_npm13xx_event_callback::node

Internal list node.


The documentation for this struct was generated from the following file: