Is there any APIs to adjust the frequency of psp?
I'd like to make a program which need to save power of the batery.So, i'd like to adjust the frequency.
Thx!
How to adjust the frequency of psp in my program?
you should check includes from pspsdk they are well documented
this is from psppower.h
this is from psppower.h
Code: Select all
/**
* Set CPU Frequency
* @param cpufreq - new CPU frequency, valid values are 1 - 333
*/
int scePowerSetCpuClockFrequency(int cpufreq);
/**
* Set Bus Frequency
* @param busfreq - new BUS frequency, valid values are 1 - 167
*/
int scePowerSetBusClockFrequency(int busfreq);
/**
* Set Clock Frequencies
*
* NOTE: Please use scePowerSetBusClockFrequency and
* scePowerSetCpuClockFrequency instead of this function
* for clock <= 222 and bus <= 111.
*
* @param cpufreq - cpu frequency, valid from 1-333
* @param ramfreq - ram frequency, valid from 1-333
* @param busfreq - bus frequency, valid from 1-166
*/
int scePowerSetClockFrequency(int cpufreq, int ramfreq, int busfreq);