Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:56

0001 /**
0002  *  @file
0003  *
0004  *  @ingroup powerpc_mpc8540i2cbusdrv
0005  *
0006  *  @brief I2C bus driver for mpc8540-based boards
0007  */
0008 
0009 #ifndef MPC8540_I2C_BUS_DRIVER_H
0010 #define MPC8540_I2C_BUS_DRIVER_H
0011 
0012 /*
0013  * Authorship
0014  * ----------
0015  * This software ('mvme3100' RTEMS BSP) was created by
0016  *
0017  *     Till Straumann <strauman@slac.stanford.edu>, 2005-2007,
0018  *     Stanford Linear Accelerator Center, Stanford University.
0019  *
0020  * Acknowledgement of sponsorship
0021  * ------------------------------
0022  * The 'mvme3100' BSP was produced by
0023  *     the Stanford Linear Accelerator Center, Stanford University,
0024  *     under Contract DE-AC03-76SFO0515 with the Department of Energy.
0025  *
0026  * Government disclaimer of liability
0027  * ----------------------------------
0028  * Neither the United States nor the United States Department of Energy,
0029  * nor any of their employees, makes any warranty, express or implied, or
0030  * assumes any legal liability or responsibility for the accuracy,
0031  * completeness, or usefulness of any data, apparatus, product, or process
0032  * disclosed, or represents that its use would not infringe privately owned
0033  * rights.
0034  *
0035  * Stanford disclaimer of liability
0036  * --------------------------------
0037  * Stanford University makes no representations or warranties, express or
0038  * implied, nor assumes any liability for the use of this software.
0039  *
0040  * Stanford disclaimer of copyright
0041  * --------------------------------
0042  * Stanford University, owner of the copyright, hereby disclaims its
0043  * copyright and all other rights in this software.  Hence, anyone may
0044  * freely use it for any purpose without restriction.
0045  *
0046  * Maintenance of notices
0047  * ----------------------
0048  * In the interest of clarity regarding the origin and status of this
0049  * SLAC software, this and all the preceding Stanford University notices
0050  * are to remain affixed to any copy or derivative of this software made
0051  * or distributed by the recipient and are to be affixed to any copy of
0052  * software made or distributed by the recipient that contains a copy or
0053  * derivative of this software.
0054  *
0055  * ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
0056  */
0057 
0058 #ifdef __cplusplus
0059   extern "C" {
0060 #endif
0061 
0062 #include <rtems.h>
0063 #include <rtems/libi2c.h>
0064 
0065 /* for registration with libi2c */
0066 extern rtems_libi2c_bus_t *mpc8540_i2c_bus_descriptor;
0067 
0068 #ifdef __cplusplus
0069   }
0070 #endif
0071 
0072 #endif