source: rtems/bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.h @ a2dad96

5
Last change on this file since a2dad96 was a2dad96, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 23, 2018 at 7:45:28 AM

bsps: Move I2C drivers to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 700 bytes
Line 
1/*
2 * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <info@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#ifndef XXX_H
16#define XXX_H
17
18#include <rtems.h>
19#include <bsp/alt_i2c.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif /* __cplusplus */
24
25typedef struct {
26  ALT_I2C_CTLR_t controller;
27  char *device_name;
28  uint32_t speed;
29} i2cdrv_configuration;
30
31extern const i2cdrv_configuration i2cdrv_config[];
32
33#ifdef __cplusplus
34}
35#endif /* __cplusplus */
36
37#endif /* XXX_H */
Note: See TracBrowser for help on using the repository browser.