Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
onoff_transitions Struct Reference

On-off service transition functions. More...

#include <onoff.h>

Data Fields

onoff_transition_fn start
 Function to invoke to transition the service to on.
 
onoff_transition_fn stop
 Function to invoke to transition the service to off.
 
onoff_transition_fn reset
 Function to force the service state to reset, where supported.
 

Detailed Description

On-off service transition functions.

Field Documentation

◆ reset

onoff_transition_fn onoff_transitions::reset

Function to force the service state to reset, where supported.

◆ start

onoff_transition_fn onoff_transitions::start

Function to invoke to transition the service to on.

◆ stop

onoff_transition_fn onoff_transitions::stop

Function to invoke to transition the service to off.


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