RTEMS 7.0-rc1
Loading...
Searching...
No Matches
i2cdrv.h
1/* SPDX-License-Identifier: GPL-2.0+-with-RTEMS-exception */
2
3/*
4 * i2cdrv.h -- I2C bus driver prototype and definitions
5 *
6 * Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia
7 * Author: Victor V. Vengerov <vvv@oktet.ru>
8 *
9 * The license and distribution terms for this file may be
10 * found in the file LICENSE in this distribution or at
11 *
12 * http://www.rtems.org/license/LICENSE.
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 */
29i2cdrv_initialize(rtems_device_major_number major,
31 void *arg);
32
33#ifdef __cplusplus
34}
35#endif
36
37#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