Zephyr API 3.6.99
Loading...
Searching...
No Matches
pm_device_base Struct Reference

Device PM info. More...

#include <device.h>

Data Fields

atomic_t flags
 Device PM status flags.
 
enum pm_device_state state
 Device power state.
 
pm_device_action_cb_t action_cb
 Device PM action callback.
 
uint32_t usage
 Device usage count.
 

Detailed Description

Device PM info.

Structure holds fields which are common for two PM devices: generic and synchronous.

Field Documentation

◆ action_cb

pm_device_action_cb_t pm_device_base::action_cb

Device PM action callback.

◆ flags

atomic_t pm_device_base::flags

Device PM status flags.

◆ state

enum pm_device_state pm_device_base::state

Device power state.

◆ usage

uint32_t pm_device_base::usage

Device usage count.


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