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