RTEMS: bsps/arm/atsam/include/bsp/i2c.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
i2c.h
1/*
2 * Copyright (c) 2016 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_ATSAM_I2C_H
16#define LIBBSP_ARM_ATSAM_I2C_H
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
22#define ATSAM_I2C_0_BUS_PATH "/dev/i2c-0"
23#define ATSAM_I2C_1_BUS_PATH "/dev/i2c-1"
24#define ATSAM_I2C_2_BUS_PATH "/dev/i2c-2"
25
26int atsam_register_i2c_0(void);
27
28int atsam_register_i2c_1(void);
29
30int atsam_register_i2c_2(void);
31
32#ifdef __cplusplus
33}
34#endif /* __cplusplus */
35
36#endif /* LIBBSP_ARM_ATSAM_I2C_H */