Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Runtime PM info for device with generic PM. More...

#include <device.h>

Data Fields

struct pm_device_base base
 Base info.
 
const struct devicedev
 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.
 

Detailed Description

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.

Field Documentation

◆ base

struct pm_device_base pm_device::base

Base info.

◆ dev

const struct device* pm_device::dev

Pointer to the device.

◆ event

struct k_event pm_device::event

Event var to listen to the sync request events.

◆ lock

struct k_sem pm_device::lock

Lock to synchronize the get/put operations.

◆ work

struct k_work_delayable pm_device::work

Work object for asynchronous calls.


The documentation for this struct was generated from the following file: