RTEMS  5.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cadence-i2c.h
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,
29 );
30 
31 #ifdef __cplusplus
32 }
33 #endif /* __cplusplus */
34 
35 #endif /* LIBBSP_ARM_XILINX_ZYNQ_CADENCE_I2C_H */
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47