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

Routines

  • P90CL301 I2C driver Routines

    This application note shows how to write an Inter Integrated Circuit bus driver (I²C) for the Philips P90CL301micro-controller.It is not only an example of writing a driver, but it also includes a set of application interface software Routines toquickly implement a complete I²C multi-master system application.For specific applications the user will have to make minimal changes in the driver program. Using the drivermeans linking modules to your application software and including a header-file into the application sourceprograms. A small example program of how to use the driver is listed.The driver supports i.a. polled or interrupt driven message handling, slave message transfers and multi-mastersystem applications. Furthermore, it is made suitable for use in conjunction with real time operating systems, likepSOS+.

    标签: Routines driver P90 301

    上传时间: 2013-11-23

    上传用户:weixiao99

  • 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-19

    上传用户:shirleyYim

  • 8051 Serial I/O Routines Ring buffered, interrupt-driven UART driver, written in Keil C .

    8051 Serial I/O Routines Ring buffered, interrupt-driven UART driver, written in Keil C .

    标签: interrupt-driven Routines buffered written

    上传时间: 2013-11-27

    上传用户:330402686

  • String Manipulation Routines

    String Manipulation Routines

    标签: Manipulation Routines String

    上传时间: 2015-02-05

    上传用户:gundan

  • Hex to Decimal Conversion Routines

    Hex to Decimal Conversion Routines

    标签: Conversion Routines Decimal Hex

    上传时间: 2013-12-20

    上传用户:英雄

  • The ROSETTA C++ library is a collection of C++ classes and Routines that enable discernibility-based

    The ROSETTA C++ library is a collection of C++ classes and Routines that enable discernibility-based empirical modelling and data mining, developed as part of my dissertation. A brief presentation of the library can be found therein.

    标签: discernibility-based collection Routines ROSETTA

    上传时间: 2015-03-12

    上传用户:开怀常笑

  • The project KEIL_IODemo shows how to use memory allocation Routines (malloc) and char I/O (printf, s

    The project KEIL_IODemo shows how to use memory allocation Routines (malloc) and char I/O (printf, scanf) via a serial interface with the Keil ARM toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module. The example also shows the efficiency of the Keil CA ARM Compiler run-time library which is tuned for single chip systems.

    标签: KEIL_IODemo allocation Routines project

    上传时间: 2013-12-08

    上传用户:ve3344

  • Routines for Writing Device Drivers.

    Routines for Writing Device Drivers.

    标签: Routines Drivers Writing Device

    上传时间: 2015-05-05

    上传用户:杜莹12345

  • Turbo Pascal Field Input Routines.

    Turbo Pascal Field Input Routines.

    标签: Routines Pascal Turbo Field

    上传时间: 2015-05-05

    上传用户:miaochun888

  • A collection of math Routines including 8-bit, 16-bit, 32-bit signed and unsigned addition, subtract

    A collection of math Routines including 8-bit, 16-bit, 32-bit signed and unsigned addition, subtraction, multiplication, and division. Very nice code library with heavy in-line documentation! Been looking for multi-byte divide? Here it is.

    标签: bit collection including addition

    上传时间: 2015-05-17

    上传用户:cursor