⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iicdirection.h

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的设备库的源码
💻 H
字号:
/*
 * Copyright (c) 1995 - 1999 by TriMedia Technologies. 
 *
 * +------------------------------------------------------------------+
 * | This software is furnished under a license and may only be used  |
 * | and copied in accordance with the terms and conditions of  such  |
 * | a license and with the inclusion of this copyright notice. This  |
 * | software or any other copies of this software may not be provided|
 * | or otherwise made available to any other person.  The ownership  |
 * | and title of this software is not transferred.                   |
 * |                                                                  |
 * | The information in this software is subject  to change without   |
 * | any  prior notice and should not be construed as a commitment by |
 * | TriMedia Technologies.                                           |
 * |                                                                  |
 * | this code and information is provided "as is" without any        |
 * | warranty of any kind, either expressed or implied, including but |
 * | not limited to the implied warranties of merchantability and/or  |
 * | fitness for any particular purpose.                              |
 * +------------------------------------------------------------------+
 *
 *  Module name             : iicDirection.h    1.2
 *
 *  Last update             : 18:43:41 - 00/11/09
 *
 *
 *
 */

#ifndef _IICDIRECTION_H_
#define _IICDIRECTION_H_

#if	defined(__cplusplus)
extern	"C"	{
#endif	/* defined(__cplusplus) */

#define IIC_DIRECTION_BOOT_ROM  0x00
#define IIC_DIRECTION_RTC       0x01
#define IIC_DIRECTION_NIM1      0x02
#define IIC_DIRECTION_NIM2      0x03

typedef tmLibdevErr_t (* directionSwitchFunction_t) (UInt32 direction);

typedef struct
{
    UInt32                    defaultDirection;
    directionSwitchFunction_t directionSwitchFunction;
} iicDirectionParam_t, *piicDirectionParam_t;

extern tmLibdevErr_t iicDirectionInit(piicDirectionParam_t params);
extern tmLibdevErr_t iicDirectionSelect(UInt direction);
extern tmLibdevErr_t iicDirectionUnSelect(UInt direction);

#if	defined(__cplusplus)
}
#endif	/* defined(__cplusplus) */

#endif /* _IICDIRECTION_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -