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