summaryrefslogtreecommitdiffstats
path: root/bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c
blob: f596075a58beec0d17ba26d7f7b62ab79b4414ce (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
/**
 * @file
 *
 * @ingroup RTEMSBSPsARMCycVI2C
 */

/*
 * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
 *
 * 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,
  }
};