uOFW
Reverse engineered PSP kernel 6.60.
|
Functions | |
s32 | sceClockgenSetup (void) |
s32 | sceClockgenSetSpectrumSpreading (s32 mode) |
s32 | sceClockgenInit (void) |
s32 | sceClockgenEnd (void) |
s32 | sceClockgenSetProtocol (u32 prot) |
s32 | sceClockgenGetRevision (void) |
s32 | sceClockgenGetRegValue (u32 idx) |
s32 | sceClockgenAudioClkSetFreq (u32 freq) |
s32 | sceClockgenAudioClkEnable (void) |
s32 | sceClockgenAudioClkDisable (void) |
s32 | sceClockgenLeptonClkEnable (void) |
s32 | sceClockgenLeptonClkDisable (void) |
Clock generator management.
s32 sceClockgenSetup | ( | void | ) |
Setups the module by retrieving all hardware registers to memory.
s32 sceClockgenSetSpectrumSpreading | ( | s32 | mode | ) |
Sets the spectrum spreading mode.
mode | The new spectrum spreading mode. Unknown unit. |
s32 sceClockgenInit | ( | void | ) |
Inits the module.
Sets up the I2C bus speed, creates the mutex and registers the sysevent handler.
s32 sceClockgenEnd | ( | void | ) |
Terminates the module.
Deletes the mutex and unregisters the sysevent handler.
s32 sceClockgenSetProtocol | ( | u32 | prot | ) |
Sets the protocol.
Changes the behavior of sceClockgenSetup(). Non-zero will retrieve the hardware registers with a single command.
prot | Boolean. |
s32 sceClockgenGetRevision | ( | void | ) |
Gets the CY27040 chip revision.
s32 sceClockgenGetRegValue | ( | u32 | idx | ) |
Gets the CY27040 hardware register value as stored in memory.
idx | An index where 0 <= idx < 3. |
s32 sceClockgenAudioClkSetFreq | ( | u32 | freq | ) |
Sets the audio clock frequency.
freq | A sample rate frequency in Hz. 44100 or 48000. |
s32 sceClockgenAudioClkEnable | ( | void | ) |
Enables the audio clock.
s32 sceClockgenAudioClkDisable | ( | void | ) |
Disables the audio clock.
s32 sceClockgenLeptonClkEnable | ( | void | ) |
Enables the lepton clock (managing the UMD reader).
s32 sceClockgenLeptonClkDisable | ( | void | ) |
Disables the lepton clock (managing the UMD reader).