⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mastergetsi2c2.c

📁 Mplab C30编译器
💻 C
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -