RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
powerpc
gen5200
include
bsp
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
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__ */
rtems_device_driver
rtems_status_code rtems_device_driver
This type shall be used in device driver entry declarations and definitions.
Definition
io.h:90
rtems_device_major_number
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition
io.h:103
rtems_device_minor_number
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition
io.h:115
Generated by
1.18.0