summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200/include/i2cdrv.h
blob: c3213e7aaa10f5f59f1c81d1038724938b7abf16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * i2cdrv.h -- I2C bus driver prototype and definitions
 *
 * Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia
 * Author: Victor V. Vengerov <vvv@oktet.ru>
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 *
 * http://www.rtems.com/license/LICENSE.
 *
 * @(#) i2cdrv.h,v 1.3 2004/04/21 10:42:52 ralf Exp
 */

#ifndef __I2CDRV_H__
#define __I2CDRV_H__

#ifdef __cplusplus
extern "C" {
#endif

#define I2C_DRIVER_TABLE_ENTRY \
  { i2cdrv_initialize, NULL, NULL, NULL, NULL, NULL }

/* i2cdrv_initialize --
 *     I2C driver initialization (rtems I/O driver primitive)
 */
rtems_device_driver
i2cdrv_initialize(rtems_device_major_number major,
                  rtems_device_minor_number minor,
                  void *arg);

#ifdef __cplusplus
}
#endif

#endif /* __I2CDRV_H__ */