登录
首页 » c » IIC时序

IIC时序

于 2022-02-20 发布 文件大小:1.99 kB
0 208
下载积分: 2 下载次数: 1

代码说明:

IIC总线在嵌入式系统中应用十分广泛,常见的有eeprom,rtc。一般的处理器会包含IIC的控制器,用来完成IIC时序的控制;另外一方面,由于IIC的时序简单,使用GPIO口来模拟时序也是常见的做法。面对不同的IIC控制器,各种各样的芯片以及linux源码,如何更快做好IIC设备驱动,就以一个简单51例子

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

发表评论

0 个回复

  • 串口显示字符串
    51单片机18b20采集温度,串口打印显示温度值,(51 single chip computer 18B20 collects temperature, and serial port prints and displays temperature value.)
    2020-06-21 20:20:01下载
    积分:1
  • queue
    说明:  非常著名的爱尔朗公式的实现,主要对排队思想的进一步编程实现(Well-known Erlang formula to achieve, mainly on the line thinking further programming)
    2010-04-17 11:50:00下载
    积分:1
  • 输入年月日时分秒换算成自1970年1月1日起的秒数
    输入年月日时分秒换算成自1970年1月1日起的秒数,开发时环境为vc6.0,采用c++,为了下载方便,未上传编译成功的exe及中间文件,需用vc6.0重新编译,输入时采用cin方式,按照提示输入即可
    2022-08-14 09:32:36下载
    积分:1
  • Csharpanli
    说明:  《C#案例开发》配套光盘文件,包括本书所有实例的源文件和执行程序,WinRAR自解压包。("C# case development" complementary CD documents, including examples of the book all the source documents and procedures, WinRAR self-extract package.)
    2006-04-10 09:01:03下载
    积分:1
  • VirtualCamera
    window下注册一个虚拟摄像头,并且在内存中开辟一块共享内存,将共享内存中的数据显示在摄像头中。qq等聊天工具可用。(Window registered a virtual camera, and in memory to open a shared memory, the shared memory data display in the camera. QQ chat tools available.)
    2014-10-28 12:16:32下载
    积分:1
  • C# 进度条、状态栏和计时器的实例
    C# 进度条、状态栏和计时器的实例,这个例子的部分功能需要连接数据库才可看到,窗体上可看到进度条、时间等控件的效果,相关代码可看下边的代码,可起一定参考:   myAdapter.Fill(myDs, "dtMyProd");   myConn.Close();   //为数据表生成主键   DataColumn[] myPK = new DataColumn[1];   myPK[0] = myDs.Tables["dtMyProd"].Columns["ProductId"];   myDs.Tables["dtMyProd"].PrimaryKey = myPK;   DataRow thisRow = myDs.Tables["dtMyProd"].Rows[1];   txtPId.Text = "" + thisRow["ProductId"];   txtPName.Text = (String)thisRow["ProductName"];   txtUnitPrice.Text = "$" + thisRow["UnitPrice"];   statusBar1.Text ="数据库加载完毕";   时间处理方面,请参见以下代码:   string TimeInString="";   int hour=DateTime.Now.Hour;   int min=DateTime.Now.Minute;   int sec=DateTime.Now.Second;   TimeInString=(hour < 10)?"0" + hour.ToString() :hour.ToString();   TimeInString+=":" + ((min
    2022-04-17 01:40:32下载
    积分:1
  • ProductDemo
    自己写的一个利用FLASH介绍自己产品的C++程序,可以防止别人拷贝你的资料(Himself wrote an introduction of its products using FLASH the C++ Procedures, to prevent others to copy your information)
    2008-03-11 10:52:42下载
    积分:1
  • pptyindlg
    该源程序包括几种属性页编程的好几种方法,你可以选择其中的一种实现你的功能,希望对你有价值!(The source code includes several property pages are several ways of programming, you can choose one of them to achieve your function, you want to value!)
    2009-10-14 10:31:14下载
    积分:1
  • 504199
    说明:  有限元设计,悬臂梁承受荷载的变形情况,有图形显示,(Finite element design, cantilever beam under the deformation of the load, graphics show,)
    2018-12-31 09:18:46下载
    积分:1
  • API
    Acrobat plugin API headers
    2017-08-04 13:50:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载