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