summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/altera-cyclone-v/i2c/i2cdrv-config.c
blob: 3c29b61e501feb466b6c3b545b46200d3b52244e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
 *
 *  embedded brains GmbH
 *  Dornierstr. 4
 *  82178 Puchheim
 *  Germany
 *  <info@embedded-brains.de>
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 * http://www.rtems.org/license/LICENSE.
 */

#include <bsp.h>
#include "i2cdrv-config.h"

const i2cdrv_configuration i2cdrv_config[CYCLONE_V_NO_I2C] = {
  {
    .controller = ALT_I2C_I2C0,
    .device_name = "/dev/i2c0",
    .speed = CYCLONE_V_I2C0_SPEED,
  }
};