Loading...
Searching...
No Matches
SPI.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
19#ifndef SPI_H
20#define SPI_H
21
22#ifndef MODULE_PERIPH_SPI
23#error "No SPI support on your board"
24#endif
25
26#ifdef __cplusplus
27#include "spiport.hpp"
28#endif
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34#ifndef ARDUINO_SPI_INTERFACE
35#define ARDUINO_SPI_INTERFACE 0
36#endif
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif /* SPI_H */
43
Definition of the Arduino 'SPI' interface.