Zephyr API 3.6.99
Loading...
Searching...
No Matches
onoff_monitor Struct Reference

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

#include <onoff.h>

Data Fields

sys_snode_t node
 Links the client into the set of waiting service users.
 
onoff_monitor_callback callback
 Callback to be invoked on state change.
 

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

Links the client into the set of waiting service users.

This must be zero-initialized.


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