4.115
Last change
on this file since c499856 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
800 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.org/license/LICENSE. |
---|
11 | */ |
---|
12 | |
---|
13 | #ifndef __I2CDRV_H__ |
---|
14 | #define __I2CDRV_H__ |
---|
15 | |
---|
16 | #ifdef __cplusplus |
---|
17 | extern "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 | */ |
---|
26 | rtems_device_driver |
---|
27 | i2cdrv_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__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.