Updated: April 19, 2023 |
Power-management parameters to get or set
#include <sys/neutrino.h>
enum nto_power_parameter_type { _NTO_PPT_NONE, _NTO_PPT_SPARE1, _NTO_PPT_SPARE2, _NTO_PPT_DEFINE_CLUSTER, _NTO_PPT_DEFINE_CPU, _NTO_PPT_DEFINE_FREQ, };
libc
The nto_power_parameter_type (_NTO_PPT_*) enumerated values define the type of power parameter a call to PowerParameter() will get or set.
Depending on the required operation, one of either the new or the old argument for the function will reference an nto_power_parameter structure. Set that structure's parameter_type member to an _NTO_PPT_* value to specify the type of parameter to get or set.