Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:46

0001 /*
0002  * i2cdrv.h -- I2C bus driver prototype and definitions
0003  *
0004  * Copyright (C) 2000 OKTET Ltd., St.-Petersburg, Russia
0005  * Author: Victor V. Vengerov <vvv@oktet.ru>
0006  *
0007  * The license and distribution terms for this file may be
0008  * found in the file LICENSE in this distribution or at
0009  *
0010  * http://www.rtems.org/license/LICENSE.
0011  */
0012 
0013 #ifndef __I2CDRV_H__
0014 #define __I2CDRV_H__
0015 
0016 #ifdef __cplusplus
0017 extern "C" {
0018 #endif
0019 
0020 #define I2C_DRIVER_TABLE_ENTRY \
0021   { i2cdrv_initialize, NULL, NULL, NULL, NULL, NULL }
0022 
0023 /* i2cdrv_initialize --
0024  *     I2C driver initialization (rtems I/O driver primitive)
0025  */
0026 rtems_device_driver
0027 i2cdrv_initialize(rtems_device_major_number major,
0028                   rtems_device_minor_number minor,
0029                   void *arg);
0030 
0031 #ifdef __cplusplus
0032 }
0033 #endif
0034 
0035 #endif /* __I2CDRV_H__ */