blob: 4ef28445a22cd16e04725d477e148d3b4de2ec39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/****************************************************************************
*
* Copyright(c) 2010 Yamaha Corporation. All rights reserved.
*
* Module : mcmachdep.h
*
* Description : MC Driver machine dependent part header
*
* Version : 1.0.0 2010.09.10
*
****************************************************************************/
#ifndef _MCMACHDEP_H_
#define _MCMACHDEP_H_
#include "mctypedef.h"
#define MCDRV_DEBUG_LEVEL (0)
void machdep_SystemInit ( void );
void machdep_SystemTerm ( void );
void machdep_ClockStart ( void );
void machdep_ClockStop ( void );
void machdep_WriteI2C ( UINT8 bSlaveAdr, const UINT8 *pbData, UINT32 dSize );
UINT8 machdep_ReadI2C ( UINT8 bSlaveAdr, UINT32 dAddress );
void machdep_Sleep ( UINT32 dSleepTime );
void machdep_Lock ( void );
void machdep_Unlock ( void );
void machdep_DebugPrint ( UINT8 *pbLogString );
#endif /* _MCMACHDEP_H_ */
|