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

📄 ti2c.c.svn-base

📁 最新火热的CX32 源代码
💻 SVN-BASE
字号:
/**
 *  This code and information is part of Trident DPTV API (TDAPI)
 *
 *  Copyright (C) Trident Multimedia Technologies (Shanghai) Co., Ltd.
 *         2001  All rights reserved.
 *
 *  This file contains functions related to 80C552 software I2C
 *
 *  Revision:
 *  08/14/2001     Created by Archie,Quinn
 *
 */

#include "tdefs.h"
#include "ti2CHIGH.h"

//GByte s_ucActiveI2Bus;

extern Code FNSOFTIIC c_fnSoftI2C1;
//extern Code FNSOFTIIC c_fnSoftI2C2;

#define _TOTAL_IIC_BUS_       0x01
static FNSOFTIIC Code * Code c_fnSoftI2C[_TOTAL_IIC_BUS_] = 
{
    &c_fnSoftI2C1
};

extern Void tdI2COpen1(Void);
extern Void tdI2CClose1(Void);

Void tdI2COpen(Byte ucIICBus)
{
	tdI2COpen1();
}                                                                 

Void tdI2CClose(Byte ucIICBus)
{
	tdI2CClose1();
}

⌨️ 快捷键说明

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