Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
|
|
3.5.0 |
Device PM info. More...
#include <device.h>
Data Fields | |
const struct device * | dev |
Pointer to the device. | |
struct k_sem | lock |
Lock to synchronize the get/put operations. | |
struct k_event | event |
Event var to listen to the sync request events. | |
uint32_t | usage |
Device usage count. | |
struct k_work_delayable | work |
Work object for asynchronous calls. | |
atomic_t | flags |
enum pm_device_state | state |
Device power state. | |
pm_device_action_cb_t | action_cb |
Device PM action callback. | |
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.