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

State associated with an on-off manager. More...

#include <onoff.h>

Data Fields

sys_slist_t clients
 
sys_slist_t monitors
 
const struct onoff_transitionstransitions
 
struct k_spinlock lock
 
int last_res
 
uint16_t flags
 
uint16_t refs
 

Detailed Description

State associated with an on-off manager.

No fields in this structure are intended for use by service providers or clients. The state is to be initialized once, using onoff_manager_init(), when the service provider is initialized. In case of error it may be reset through the onoff_reset() API.

Field Documentation

◆ clients

sys_slist_t onoff_manager::clients

◆ flags

uint16_t onoff_manager::flags

◆ last_res

int onoff_manager::last_res

◆ lock

struct k_spinlock onoff_manager::lock

◆ monitors

sys_slist_t onoff_manager::monitors

◆ refs

uint16_t onoff_manager::refs

◆ transitions

const struct onoff_transitions* onoff_manager::transitions

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