nto_power_parameter_type

Updated: April 19, 2023

Power-management parameters to get or set

Synopsis:

#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,
};

Data:

_NTO_PPT_NONE
Don't set any characteristics.
_NTO_PPT_SPARE1
Reserved for future use.
_NTO_PPT_SPARE2
Reserved for future use.
_NTO_PPT_DEFINE_CLUSTER
Create a new CPU cluster.
_NTO_PPT_DEFINE_CPU
Define CPU offline and online characteristics.
_NTO_PPT_DEFINE_FREQ
Set CPU frequency characteristics.

Library:

libc

Description:

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.