📄 i2c_stop.c
字号:
/*************************** Function Message ****************************
** Funtion Name : I2C_Stop
** Arguments: BYTE bComOrder: the communication order
** Return Value: return the communication status
** Restrictions: none
** created by: ZhangBin
** Last modified: 12/2/04 (MM/DD/YY)
** Description: the main program of the EOS System
***************************************************************************/
void I2C_Stop(void)
{
SDA_DIR_OUT(); // SDA = 0;
SCL_DIR_IN(); // SCL = 1;
I2C_DELAY();
SDA_DIR_IN(); //SDA = 1;
I2C_DELAY();
SDA_DIR = 1;
SCL_DIR = 1;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -