Set the CPU voltage (in uV)
#include <hw/dvfs_api.h> int set_cpu_voltage( void *handle, uint32_t voltage );
The set_cpu_voltage() function is in charge of changing the CPU voltage to the desired level. This function must ensure that the voltage is within the allowed range.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |