source: rtems/c/src/lib/libbsp/powerpc/gen5200/include/i2cdrv.h @ ca680bc5

4.104.114.84.95
Last change on this file since ca680bc5 was ca680bc5, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/31/05 at 05:09:26

New (CVS import Thomas Doerfler <Thomas.Doerfler@…>'s
submission).

  • Property mode set to 100644
File size: 855 bytes
Line 
1/*
2 * i2cdrv.h -- I2C bus driver prototype and definitions
3 *
4 * Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia
5 * Author: Victor V. Vengerov <vvv@oktet.ru>
6 *
7 * The license and distribution terms for this file may be
8 * found in the file LICENSE in this distribution or at
9 *
10 * http://www.rtems.com/license/LICENSE.
11 *
12 * @(#) i2cdrv.h,v 1.3 2004/04/21 10:42:52 ralf Exp
13 */
14
15#ifndef __I2CDRV_H__
16#define __I2CDRV_H__
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#define I2C_DRIVER_TABLE_ENTRY \
23  { i2cdrv_initialize, NULL, NULL, NULL, NULL, NULL }
24
25/* i2cdrv_initialize --
26 *     I2C driver initialization (rtems I/O driver primitive)
27 */
28rtems_device_driver
29i2cdrv_initialize(rtems_device_major_number major,
30                  rtems_device_minor_number minor,
31                  void *arg);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* __I2CDRV_H__ */
Note: See TracBrowser for help on using the repository browser.