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