RTEMS 6.1-rc7
Loading...
Searching...
No Matches
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,
29 void *arg);
30
31#ifdef __cplusplus
32}
33#endif
34
35#endif /* __I2CDRV_H__ */
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85