Updated: April 19, 2023 |
Inform the kernel that the system has switched to a new active frequency
#include <sys/neutrino.h> int PowerSetActive(unsigned __id);
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The PowerSetActive() function informs the kernel that the system has switched to a new active frequency.
You should call this function after you have called PowerParameter() with the nto_power_parameter data structure's parameter_type member set to _NTO_PPT_DEFINE_FREQ.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | No |