L4Re Operating System Framework
Interface and Usage Documentation
|
Power-management API mixin. More...
#include <vbus>
Public Member Functions | |
int | pm_suspend () const |
Suspend the device. | |
int | pm_resume () const |
Resume the device. | |
Power-management API mixin.
Devices that inherit from this mixin provide an API to be suspended and resumed.
|
inline |
Resume the device.
Switches the device from low-power mode to normal operation and restores the saved state.
0 | Success. |
Definition at line 76 of file vbus.
References l4vbus_pm_resume().
|
inline |
Suspend the device.
Saves the state of the device and puts it into a low-power mode.
0 | Success. |
Definition at line 65 of file vbus.
References l4vbus_pm_suspend().