4.115
Last change
on this file since a2b6895 was
45a63ee,
checked in by Sebastian Huber <sebastian.huber@…>, on 11/10/14 at 12:46:32
|
bsp/xilinx-zynq: Add Cadence I2C bus driver
|
-
Property mode set to
100644
|
File size:
741 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 LIBBSP_ARM_XILINX_ZYNQ_CADENCE_I2C_H |
---|
16 | #define LIBBSP_ARM_XILINX_ZYNQ_CADENCE_I2C_H |
---|
17 | |
---|
18 | #include <rtems.h> |
---|
19 | |
---|
20 | #ifdef __cplusplus |
---|
21 | extern "C" { |
---|
22 | #endif /* __cplusplus */ |
---|
23 | |
---|
24 | int i2c_bus_register_cadence( |
---|
25 | const char *bus_path, |
---|
26 | uintptr_t register_base, |
---|
27 | uint32_t input_clock, |
---|
28 | rtems_vector_number irq |
---|
29 | ); |
---|
30 | |
---|
31 | #ifdef __cplusplus |
---|
32 | } |
---|
33 | #endif /* __cplusplus */ |
---|
34 | |
---|
35 | #endif /* LIBBSP_ARM_XILINX_ZYNQ_CADENCE_I2C_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.