lowio: update lowio_i2c.h with protoypes used by clockgen

This commit is contained in:
Clément G 2013-04-01 20:34:11 +02:00
parent 55daf23472
commit a9fe14f841
2 changed files with 4 additions and 7 deletions

View File

@ -2,5 +2,6 @@
See the file COPYING for copying permission.
*/
int sceI2cMasterTransmit(int reg, void *buf, int bufSize);
s32 sceI2cMasterTransmitReceive(u32, u8 *, s32, u32, u8 *, s32);
s32 sceI2cMasterTransmit(u32, u8 *, s32);
s32 sceI2cSetClock(s32, s32);

View File

@ -24,6 +24,7 @@
#include <sysmem_sysevent.h>
#include <threadman_kernel.h>
#include <lowio_i2c.h>
SCE_MODULE_INFO(
"sceClockgen_Driver",
@ -59,11 +60,6 @@ SCE_SDK_VERSION(SDK_VERSION);
/* In reg1, used to enable/disable audio */
#define PSP_CLOCK_AUDIO (16)
// TODO: move it to lowio_i2c.h
s32 sceI2cMasterTransmitReceive(u32, u8 *, s32, u32, u8 *, s32);
s32 sceI2cMasterTransmit(u32, u8 *, s32);
s32 sceI2cSetClock(s32, s32);
//0x000008F0
typedef struct {
/* The mutex id */