i2c.h

来自「利用51系列芯片,通过汇编语言编写,实现无线的接收与解码.」· C头文件 代码 · 共 25 行

H
25
字号
/*==============================================================================
 *
 * Copyright (C) 2003-2004 Nordic Semiconductor
 *
 * This file is distributed in the hope that it will be useful, but WITHOUT
 * WARRANTY OF ANY KIND.
 *
 * Author(s): Ole Saether
 *
 * $Revision: 2 $
 *
 *==============================================================================
*/
#ifndef __I2C_9E5_H__
#define __I2C_9E5_H__

void I2CInit(void);
void I2CStart(void);
void I2CRepStart(void);
void I2CStop(void);
unsigned char I2CWrite(unsigned char b);
unsigned char I2CRead(unsigned char ack);

#endif

⌨️ 快捷键说明

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