mastergetsi2c2.c

来自「Mplab C30编译器」· C语言 代码 · 共 17 行

C
17
字号
#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include <i2c.h>

/***************************************************************************************************
Function Prototype :  unsigned int MastergetsI2C2(unsigned int length,
                          unsigned char *rdptr, unsigned int i2c_data_wait)
                           
Include            :  i2c.h 

Description        :  This function reads predetermined data string length from the I2C bus. 

Arguments          :  length - Number of bytes to read from I2C device.
                      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 + -
显示快捷键?