Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Device PM info. More...
#include <device.h>
Data Fields | |
const struct device * | dev |
struct k_mutex | lock |
bool | enable: 1 |
atomic_t | flags |
uint32_t | usage |
enum pm_device_state | state |
struct k_work_delayable | work |
struct k_condvar | condvar |
Device PM info.
struct k_condvar pm_device::condvar |
Event conditional var to listen to the sync request events
const struct device* pm_device::dev |
Pointer to the device
bool pm_device::enable |
Device pm enable flag
atomic_t pm_device::flags |
struct k_mutex pm_device::lock |
Lock to synchronize the get/put operations
enum pm_device_state pm_device::state |
Device power state
uint32_t pm_device::usage |
Device usage count
struct k_work_delayable pm_device::work |
Work object for asynchronous calls