e2prom_function.h

来自「1、该PERIPHERAL文件夹包含五个有关系统外设的程序:DEC5502_US」· C头文件 代码 · 共 23 行

H
23
字号

/********************************************************************************/
/*																				*/
/*	Filename:	E2PROM_Function.h												*/
/*  Function:	Realize E2PROM`s writing and reading operation					*/
/*																				*/
/********************************************************************************/
#ifndef E2PROM_Function_h
#define	E2PROM_Function_h

	
extern void MyI2C_setup(I2C_Setup *Init);  
extern int MyI2C_Write(Uint16 *data,int length,int master,Uint16 slaveaddress,int transfermode,int timeout);
extern int MyI2C_Read(Uint16 *data,int length,int master,Uint16 slaveaddress,int transfermode,int timeout, int checkbus);
extern int MyI2C_WriteSigWord(unsigned int OwnAdd, unsigned int data, int master, Uint16 slaveaddress, int transfermode, int timeout);

#endif

/************************************************************************/
/*	No	More															*/
/************************************************************************/

⌨️ 快捷键说明

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