I 2 C Bus Drivers for Windows 2K XP.ppt

  1. 1、本文档共19页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
I 2 C Bus Drivers for Windows 2K XP.ppt

I2C Bus Drivers for Windows 2K, XP Pavel Novák Tomá? Matou?ek I2C Basic Characteristics Inter-Integrated Circuts Bus originally to interact within small num. of devs (radio/TV tuning, …) max. speeds: 100 kbps (standard mode) 400 kbps (fast mode) 3.4 Mbps (high-speed mode) data transfers: serial, 8-bit oriented, bi-directional master/slave relationships with multi-master option (arbitration) master can operate as transmitter or receiver addressing: 7bit or 10bit unique addresses Wires and Signals two-wired bus serial data line (SDA) serial clock line (SCL) bit transfer level triggered one clock pulse per data bit stable data during high clocks data change during low clocks Wired-AND Connection open collectors, pull-up resistors bus is free ? SDA and SCL are high Frame Formats Addressing by 7 bits the first byte transmitted by master: 7 bits: address 1 bit: direction (R/W) 0 … master writes data (W) – transmitter since next byte 1 … master reads data (R) – receiver since next byte during the first byte transfer: master is transmitter addressed slave is receiver data transfer terminated by a stop condition master may generate repeated start and address another device Microchip PIC16F628 8-bit 20MHz RISC microcontroller USART Rx, Tx, DTR, DSR for communication RTS resetting, low voltage programming memory FLASH program (2048 x 14bit) RAM data (224B) EEPROM data (128B) hardware stack (8 levels) interrupts, 3 timers, 16 I/O pins 35 instructions single-cycled except for 2-cycled branches Layered Drivers Virtual Network Device Installation Virtual Network Device Installation Virtual Network Device Settings Virtual Network Device Settings NDIS Miniport Implementation Information Transmission – To NDIS NDIS_STATUS MiniportQueryInformation( IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, … OUT PULONG BytesWritten, …); Oids: OID_GEN_MEDIA_SUPPORTED // Ethernet OID_GEN_LINK_SPEED OID_GEN_MEDIA_CONNECT_STATUS OID_PNP_CAPABILITIES OID_802

文档评论(0)

开心农场 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档