| 
    Zephyr Project API
    3.3.0
    
   A Scalable Open Source RTOS 
   | 
 
State used when a driver uses the on-off service API for synchronous operations. More...
#include <onoff.h>
Data Fields | |
| struct k_spinlock | lock | 
| int32_t | count | 
State used when a driver uses the on-off service API for synchronous operations.
This is useful when a subsystem API uses the on-off API to support asynchronous operations but the transitions required by a particular driver are isr-ok and not sleep. It serves as a substitute for onoff_manager, with locking and persisted state updates supported by onoff_sync_lock() and onoff_sync_finalize().
| int32_t onoff_sync_service::count | 
| struct k_spinlock onoff_sync_service::lock |