| View previous topic :: View next topic |
| Author |
Message |
raybinson
Joined: 03 Nov 2005 Posts: 2
|
Posted: Thu Nov 03, 2005 9:53 pm Post subject: How to adjust the frequency of psp in my program? |
|
|
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! |
|
| Back to top |
|
 |
weltall
Joined: 20 Feb 2004 Posts: 310
|
Posted: Thu Nov 03, 2005 10:32 pm Post subject: |
|
|
you should check includes from pspsdk they are well documented
this is from psppower.h
| Code: |
/**
* 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); |
|
|
| Back to top |
|
 |
raybinson
Joined: 03 Nov 2005 Posts: 2
|
Posted: Fri Nov 04, 2005 4:59 pm Post subject: |
|
|
| thank u!!! |
|
| Back to top |
|
 |
|