1 /****************************************************************************
3 * Copyright(c) 2010 Yamaha Corporation. All rights reserved.
7 * Description : MC Driver service routine header
9 * Version : 1.0.0 2010.03.18
11 ****************************************************************************/
16 #include "mctypedef.h"
19 void McSrv_SystemInit ( void );
20 void McSrv_SystemTerm ( void );
21 void McSrv_ClockStart ( void );
22 void McSrv_ClockStop ( void );
23 void McSrv_WriteI2C ( UINT8 bSlaveAddr, UINT8 *pbData, UINT32 dSize );
24 UINT8 McSrv_ReadI2C ( UINT8 bSlaveAddr, UINT32 dRegAddr );
25 void McSrv_Sleep ( UINT32 dSleepTime );
26 void McSrv_Lock ( void );
27 void McSrv_Unlock ( void );
28 void McSrv_MemCopy ( const UINT8 *pbSrc, UINT8 *pbDest, UINT32 dSize );
29 void McSrv_DisableIrq ( void );
30 void McSrv_EnableIrq ( void );
34 #endif /* _MCSERVICE_H_ */