登录
首页 » 嵌入式系统 » 软件模拟I2C协议

软件模拟I2C协议

于 2022-03-03 发布 文件大小:26.27 kB
0 147
下载积分: 2 下载次数: 1

代码说明:

源程序由9个函数组成,程序清单如下 /*启动I2C总线*//*停止I2C总线 ///*发送应答位*//*发送非应答位* //*应答位检查*/ /*向虚拟I2C总线上发送1个数据字节*/ /*从I2C总线上读取1个数据字节* //*向虚拟I2C总线上发送n个字节的数据*/ /*从虚拟I2C总线上读取n个字节的数据*/      

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 单片机主从模块蓝牙通信代码
    两块单片机模块,在这两块单片机上焊接上蓝牙主从模块,以及数码管和蜂鸣器,并且有温度传感器,在温度发生变化后,单片机1向单片机2发送电平信号,实现通信,并且发出相应的警报。
    2022-04-23 22:29:40下载
    积分:1
  • 富士N列可编程控制器PLC编程手册,介绍Flex N列PLC的情况和其操作。...
    富士N系列可编程控制器PLC编程手册,介绍Flex N系列PLC的情况和其操作。-Fujitsu N Series Programmable Logic Controller PLC programming manual introduction of the Flex N Series PLC and its operation.
    2022-03-07 11:43:13下载
    积分:1
  • lcd12864的显示! lcd12864的显示!
    lcd12864的显示! lcd12864的显示!-display!display!display!display!
    2022-02-02 02:14:42下载
    积分:1
  • 深圳英蓓特EV40开发板的随机源
    深圳英蓓特EV40开发板的随机源码(Shenzhen Embest EV40 Development Board of random source)-Shenzhen Embest EV40 Development Board of random source
    2022-01-22 15:46:29下载
    积分:1
  • TMS320F28023/28027头文件及其实例
    2802x C/C++ Header Files and Peripheral Examples。 1 Device Support: This software package supports 2802x devices. This includes the following: TMS320F28027, TMS320F28026, TMS320F28025, TMS320F28024, TMS320F28023, and TMS320F28022. Throughout this document, TMS320F28027, TMS320F28026, TMS320F28025, TMS320F28024, TMS320F28023, and TMS320F28022 are abbreviated as F28027, F28026 F28025, F28024, F28023, and F28022 respectively2 Introduction: The 2802x C/C++ peripheral header files and example projects facilitate writing in C/C++ Code for the Texas Instruments TMS320x2802x DSPs. The code can be used as a learning tool or as the basis for a development platform depending on the current needs of the user. • Learning Tool: This download includes several example Code Composer Studio™† projects for a ‘2802x development platform. These examples demonstrate the steps required to initialize the device an
    2023-03-31 16:35:03下载
    积分:1
  • A Simple isochronous transfer. Reads 8051 ports A,B and C, and continuously send...
    A Simple isochronous transfer. Reads 8051 ports A,B and C, and continuously sends a five byte packet over EP8IN:
    2022-11-07 09:55:04下载
    积分:1
  • lm35 with pic 16f877a
    在阅读了上面给出的ADC教程之后
    2023-08-26 21:35:03下载
    积分:1
  • 多种时钟下的汇编延时程序,基于定时器的,精准
    多种时钟下的汇编延时程序,基于定时器的,精准-Compilation of a wide range of clock delay under the process, based on the timer, precision
    2023-05-07 11:25:02下载
    积分:1
  • Using 9054 as the board of the media and computer communications, ADSP21161 comp...
    采用9054做为板卡与计算机通信的媒介,ADSP21161作为运算器件的采集卡。该程序完成计算机通信。-Using 9054 as the board of the media and computer communications, ADSP21161 computing device as a capture card. Computer Communications completed the program.
    2022-07-09 04:58:25下载
    积分:1
  • arm9200 the development of manuals about how to ARM9200 and LINUX in the applica...
    arm9200的开发手册,讲述了怎么样在ARM9200和LINUX下开发应用系统 。-arm9200 the development of manuals about how to ARM9200 and LINUX in the application system under development.
    2022-03-26 18:01:02下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载