source: rtems/c/src/lib/libbsp/arm/altera-cyclone-v/i2c/i2cdrv-config.c @ 3f9cd87d

4.115
Last change on this file since 3f9cd87d was 3f9cd87d, checked in by Christian Mauderer <Christian.Mauderer@…>, on 07/14/14 at 14:33:52

bsp/altera-cyclone-v: Add a simple I2C driver.

  • Property mode set to 100644
File size: 558 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#include <bsp.h>
16#include "i2cdrv-config.h"
17
18const i2cdrv_configuration i2cdrv_config[CYCLONE_V_NO_I2C] = {
19  {
20    .controller = ALT_I2C_I2C0,
21    .device_name = "/dev/i2c0",
22    .speed = CYCLONE_V_I2C0_SPEED,
23  }
24};
Note: See TracBrowser for help on using the repository browser.