Zephyr API Documentation
3.4.0
A Scalable Open Source RTOS
|
|
3.4.0 |
Device PM info. More...
#include <device.h>
Data Fields | |
const struct device * | dev |
struct k_sem | lock |
struct k_event | event |
uint32_t | usage |
struct k_work_delayable | work |
atomic_t | flags |
enum pm_device_state | state |
pm_device_action_cb_t | action_cb |
Device PM info.
pm_device_action_cb_t pm_device::action_cb |
Device PM action callback
const struct device* pm_device::dev |
Pointer to the device
struct k_event pm_device::event |
Event var to listen to the sync request events
atomic_t pm_device::flags |
struct k_sem 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