Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Runtime PM info for device with generic PM. More...
#include <device.h>
Data Fields | |
struct pm_device_base | base |
Base info. | |
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. | |
struct k_work_delayable | work |
Work object for asynchronous calls. | |
Runtime PM info for device with generic PM.
Generic PM involves suspending and resuming operations which can be blocking, long lasting or asynchronous. Runtime PM API is limited when used from interrupt context.
struct pm_device_base pm_device::base |
Base info.
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.
struct k_sem pm_device::lock |
Lock to synchronize the get/put operations.
struct k_work_delayable pm_device::work |
Work object for asynchronous calls.