虫虫首页|资源下载|资源专辑|精品软件
登录|注册

87L

  • I2C slave routines for the 87L

    The 87LPC76X Microcontroller combines in a small package thebenefits of a high-performance microcontroller with on-boardhardware supporting the Inter-Integrated Circuit (I2C) bus interface.The 87LPC76X can be programmed both as an I2C bus master, aslave, or both. An overview of the I2C bus and description of the bussupport hardware in the 87LPC76X microcontrollers appears inapplication note AN464, Using the 87LPC76X Microcontroller as anI2C Bus Master. That application note includes a programmingexample, demonstrating a bus-master code. Here we show anexample of programming the microcontroller as an I2C slave.The code listing demonstrates communications routines for the87LPC76X as a slave on the I2C bus. It compliments the program inAN464 which demonstrates the 87LPC76X as an I2C bus master.One may demonstrate two 87LPC76X devices communicating witheach other on the I2C bus, using the AN464 code in one, and theprogram presented here in the other. The examples presented hereand in AN464 allow the 87LPC76X to be either a master or a slave,but not both. Switching between master and slave roles in amultimaster environment is described in application note AN435.The software for a slave on the bus is relatively simple, as theprocessor plays a relatively passive role. It does not initiate bustransfers on its own, but responds to a master initiating thecommunications. This is true whether the slave receives or transmitsdata—transmission takes place only as a response to a busmaster’s request. The slave does not have to worry about arbitrationor about devices which do not acknowledge their address. As theslave is not supposed to take control of the bus, we do not demandit to resolve bus exceptions or “hangups”. If the bus becomesinactive the processor simply withdraws, not interfering with themaster (or masters) on the bus which should (hopefully) try toresolve the situation.

    标签: routines slave I2C 87L

    上传时间: 2013-11-18

    上传用户:shirleyYim

  • VIP专区-单片机源代码精选合集系列(72)

    eeworm.com VIP专区 单片机源码系列 71资源包含以下内容:1. PWM模块单片机的步进电机细分驱动的理论和方法介绍.pdf2. 基于状态分析的键盘管理软件设计.pdf3. 单片机的步进电机控制器设计介绍.pdf4. 单片机温度控制系统的设计及实现.pdf5. 基于单片机的步进电机细分技术介绍.pdf6. 基于单片机的太阳能电池自动跟踪系统的设计.zip7. 单片机的步进电机细分技术研究介绍.pdf8. 气体压缩因子Z的在线修正与单片机实现.pdf9. Emulating a synchronous serial.pdf10. 基于单片机的霍尔传感器测试系统介绍.pdf11. 使用软件程序仿真C500微控制器系列SSC(同步串行通道)功.pdf12. MPC106 PCI Bridge/Memory Contr.pdf13. 单片机以太网通讯的实现介绍.pdf14. MPC106 PCI桥/存储器控制器硬件规范说明.pdf15. USB Demonstration for DK3200 w.pdf16. 对带有uPSD3234A的DK3200的USB演示.pdf17. An easy way to work with Exter.pdf18. 用外部设备设置32位微控制器TriCore的中断的指令及方法.pdf19. P90CL301 I2C driver routines.pdf20. Input Signal Rise and Fall Tim.pdf21. P90CL301 IIC驱动电路的例行测试及其程序.pdf22. 用51单片机实现公历与农历星期的转换.pdf23. 介绍C16x系列微控制器的输入信号升降时序图及特性.pdf24. XA-S3 I2C driver software.pdf25. 万年历算法.pdf26. MCS-51单片机对步进电机控制的实现.pdf27. XA-S3的IIC接口的驱动器软件程序(C语言).pdf28. Reading and Writing iButtons v.pdf29. 通用单片机试验板原理图.pdf30. I2C slave routines for the 87L.pdf31. Philips微控制器在LIN中的应用.pdf32. MPC7400 Part Number Speci&THOR.pdf33. 87LPC76X的IIC从程序.pdf34. 基于P87C591的CAN总线系统智能节点设计.pdf35. MPC7400l零件号码规范说明.pdf36. Using the 87LPC76X microcontro.pdf37. Control System of Stepp ingMot.pdf38. 68HC05K0 Infra-red Remote Cont.pdf39. 87C576微控制器的在线编程.pdf40. CAN与RS232转换节点的设计与实现.pdf41. 68HC05K0实现红外远程控制键盘的应用.pdf42. 单片机外围线路设计.rar43. 单片机常用芯片和器件手册.rar44. IO口状态切换说明.pdf45. 中断技术.ppt.ppt46. 并行接口.ppt47. DMA技术 -ppt.ppt48. 结构紧凑的Li+电池充电器.pdf49. 定时与计数技术.ppt50. 微机总线与接口标准.ppt51. 中断的概念及51单片机的中断系统.ppt52. 输入输出与接口技术.ppt53. 单片机应用概述.ppt54. 现代微机原理与接口技术.rar55. 单片机应用系统设计的基本方法.ppt56. PCB可测性设计布线规则之建议―从源头改善可测率.pdf57. 单片机A/D和D/A应用接口技术.ppt58. 汇编语言上机过程.ppt.ppt59. PWM的调速原理与应用—小车调速.ppt60. 汇编语言在数据处理中的应用.ppt61. 定时器/计数器基础.ppt62. 驱动程序与应用程序的接口.doc63. 外部中断应用程序设计范例.ppt64. 实验指导书 (TPC-H实验台C语言版).pdf65. 汇编语言程序设计案例—动态显示/障碍物检测/障碍物方位检测.rar66. 指令功能及汇编语言程序设计.rar67. ispdown V2.3 最新版 (可用Altera下载线进.rar68. MCS-51单片机的编程应用范例.pdf69. 51编程指南--MCSÉ-51 Program.rar70. 多运动目标跟踪及连通域标记方法.pdf71. 很经典的仿真器自制资料.rar72. mcs-51指令集.rar73. 自制51单片机编程器.rar74. CAN总线与USB的转接技术.pdf75. 自制ATMEL 89系列FLASH单片机编程器.rar76. 基于ARM处理器LPC2142的高速数据采集卡设计.pdf77. 微机测量系统中的抗干扰措施.pdf78. PGM89 51Flash单片机编程器V3.0.rar79. 改善基于微控制器的应用的瞬态免疫性能.rar80. KEIL C51开发软件操作使用视频教程.rar81. 自制微型51/AVR通用编程器.rar82. C51单片机视频教程.RAR83. 自制51编程器资料.rar84. 基于单片机89C51和89C2051点阵LED图文显示.pdf85. 全遥控6声道AV机的汇编程序.rar86. keil c51中文说明.pdf87. 基于AT89C2051的红外遥控学习器源程序.rar88. 微型计算机课程设计论文—通用微机发声程序的汇编设计.rar89. 从PCI总线的-12V电源获得3.3V电压.pdf90. DS1302+AT89S52+LED时钟程序(C语言源代码+.rar91. 乐曲发声及动画程序.rar92. 单片开关电源的设计和应用.rar93. 51单片机试验板电路图-原理图.rar94. DS1820 C51 子程序 (一线数据传输).doc95. 模拟串口通讯程序(51汇编代码编写).doc96. 8051单片机教程 (word版).rar97. 串行编程器源程序(Keil C语言).rar98. 用C51写的普通拼音输入法源程序代码.zip99. EasyIsp下载线电路图.rar100. 采用18b20芯片的温度测量C51源程序.rar

    标签: 传感器 检测技术

    上传时间: 2013-06-01

    上传用户:eeworm