RTEMS: bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
28extern "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
37extern const i2cdrv_configuration i2cdrv_config[];
38
39#ifdef __cplusplus
40}
41#endif /* __cplusplus */
42
43#endif /* XXX_H */
alt_i2c.h
ALT_I2C_CTLR_t
enum ALT_I2C_CTLR_e ALT_I2C_CTLR_t
rtems.h
i2cdrv_configuration
Definition: i2cdrv-config.h:31