RTEMS
5.1
bsps
arm
altera-cyclone-v
i2c
i2cdrv-config.h
Go to the documentation of this file.
1
7
/*
8
* Copyright (c) 2014 embedded brains GmbH. All rights reserved.
9
*
10
* embedded brains GmbH
11
* Dornierstr. 4
12
* 82178 Puchheim
13
* Germany
14
* <info@embedded-brains.de>
15
*
16
* The license and distribution terms for this file may be
17
* found in the file LICENSE in this distribution or at
18
* http://www.rtems.org/license/LICENSE.
19
*/
20
21
#ifndef XXX_H
22
#define XXX_H
23
24
#include <
rtems.h
>
25
#include <
bsp/alt_i2c.h
>
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
/* __cplusplus */
30
31
typedef
struct
{
32
ALT_I2C_CTLR_t
controller;
33
char
*device_name;
34
uint32_t speed;
35
}
i2cdrv_configuration
;
36
37
extern
const
i2cdrv_configuration
i2cdrv_config[];
38
39
#ifdef __cplusplus
40
}
41
#endif
/* __cplusplus */
42
43
#endif
/* XXX_H */
alt_i2c.h
rtems.h
i2cdrv_configuration
Definition:
i2cdrv-config.h:31
ALT_I2C_CTLR_t
enum ALT_I2C_CTLR_e ALT_I2C_CTLR_t
Generated by
1.8.15