RTEMS  5.1
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
spi.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_SPI_H
16 #define LIBBSP_ARM_ATSAM_SPI_H
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif /* __cplusplus */
21 
22 #define ATSAM_SPI_0_BUS_PATH "/dev/spi-0"
23 #define ATSAM_SPI_1_BUS_PATH "/dev/spi-1"
24 #define ATSAM_SPI_2_BUS_PATH "/dev/spi-2"
25 
26 int atsam_register_spi_0(void);
27 
28 int atsam_register_spi_1(void);
29 
30 int atsam_register_spi_2(void);
31 
32 #ifdef __cplusplus
33 }
34 #endif /* __cplusplus */
35 
36 #endif /* LIBBSP_ARM_ATSAM_SPI_H */