source: rtems/c/src/lib/libbsp/m68k/mcf5206elite/include/i2cdrv.h @ e56c3546

4.104.114.84.95
Last change on this file since e56c3546 was e56c3546, checked in by Joel Sherrill <joel.sherrill@…>, on 10/26/01 at 19:30:11

2001-10-26 Victor V. Vengerov <vvv@…>

  • New BSP for MCF5206eLITE evaluation board BSP.
  • ChangeLog?, README, bsp_specs, configure.ac, console/console.c, console/.cvsignore, i2c/i2c.c, i2c/i2cdrv.c, i2c/.cvsignore, include/bsp.h, include/bspopts.h.in, include/coverhd.h, include/ds1307.h, include/i2c.h, include/i2cdrv.h, include/nvram.h, include/.cvsignore, nvram/nvram.c, nvram/.cvsignore, start/start.S, start/.cvsignore, startup/bspclean.c, startup/bspstart.c, startup/gdbinit, startup/init5206e.c, startup/linkcmds, startup/linkcmds.flash, startup/.cvsignore, times, tod/ds1307.c, tod/todcfg.c, tod/.cvsignore, tools/.cvsignore, tools/configure.ac, tools/runtest, tools/changes, wrapup/.cvsignore, .cvsignore: New files.
  • Property mode set to 100644
File size: 839 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.OARcorp.com/rtems/license.html.
11 *
12 * @(#) $Id$
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.