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
9#pragma once
10
20
21#ifndef MODULE_PERIPH_SPI
22#error "No SPI support on your board"
23#endif
24
25#ifdef __cplusplus
26#include "spiport.hpp"
27#endif
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33#ifndef ARDUINO_SPI_INTERFACE
34#define ARDUINO_SPI_INTERFACE 0
35#endif
36
37#ifdef __cplusplus
38}
39#endif
40
Definition of the Arduino 'SPI' interface.