Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
onoff_monitor Struct Reference

Registration state for notifications of onoff service transitions. More...

#include <onoff.h>

Data Fields

sys_snode_t node
 
onoff_monitor_callback callback
 Callback to be invoked on state change. More...
 

Detailed Description

Registration state for notifications of onoff service transitions.

Any given onoff_monitor structure can be associated with at most one onoff_manager instance.

Field Documentation

◆ callback

onoff_monitor_callback onoff_monitor::callback

Callback to be invoked on state change.

This must not be null.

◆ node

sys_snode_t onoff_monitor::node

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