![]() |
![]() |
![]() |
Get the list of supported power modes
#include <sys/pmm.h>
int pmm_mode_list(pmm_node_t *node, pm_power_mode_t *modes,
int count);
libc
This call is used to get the list of supported power modes:
This function returns the actual number of modes supported by the node.
If modes is non-NULL, the minimum of count and the actual number of supported modes will be copied to modes.
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
![]() |
![]() |
![]() |