slavegetsi2c1.c
来自「Mplab C30编译器」· C语言 代码 · 共 19 行
C
19 行
#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include <i2c.h>
/**********************************************************************************
Function Prototype : unsigned int SlavegetsI2C1(unsigned char *rdptr,
unsigned int i2c_data_wait)
Include : i2c.h
Description : This function reads pre-determined data string length
from the I2C bus.
Arguments : rdptr - Character type pointer to RAM for storage of data
read from I2C device.
i2c_data_wait - This is the time-out count for which the
module has to wait before return.
If the time-out count is 慛
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?