Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mfd_npm10xx_event_callback Struct Reference

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.

Detailed Description

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.

Field Documentation

◆ event_mask

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.

◆ handler

npm10xx_callback_handler_t mfd_npm10xx_event_callback::handler

Function to be called when any of the provided events occur.

◆ node

sys_snode_t mfd_npm10xx_event_callback::node

Intended for internal use by the driver.

Do not use in application.


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