📄 i2c.h
字号:
/******************************************************************************/
/* I2C.h: I2C function prototypes */
/******************************************************************************/
/* This file is part of the uVision/ARM development tools. */
/* Copyright (c) 2005-2009 Keil Software. All rights reserved. */
/* This software may only be used under the terms of a valid, current, */
/* end user licence from KEIL for a compatible version of KEIL software */
/* development tools. Nothing else gives you the right to use this software. */
/******************************************************************************/
#ifndef _I2C_H
#define _I2C_H
extern void I2C_Init (void);
extern void I2C_Start (void);
extern void I2C_Stop (void);
extern void I2C_Addr (unsigned char adr);
extern void I2C_Write (unsigned char c);
extern unsigned char I2C_Read (int ack);
#endif /* _I2C_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -