RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
i2cdrv.h
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.org/license/LICENSE.
11 */
12
13#ifndef __I2CDRV_H__
14#define __I2CDRV_H__
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#define I2C_DRIVER_TABLE_ENTRY \
21 { i2cdrv_initialize, NULL, NULL, NULL, NULL, NULL }
22
23/* i2cdrv_initialize --
24 * I2C driver initialization (rtems I/O driver primitive)
25 */
27i2cdrv_initialize(rtems_device_major_number major,
28 rtems_device_minor_number minor,
29 void *arg);
30
31#ifdef __cplusplus
32}
33#endif
34
35#endif /* __I2CDRV_H__ */
rtems_status_code
Classic API Status.
Definition: status.h:43