Loading...
Searching...
No Matches
SPI.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Otto-von-Guericke-Universität Magdeburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifndef MODULE_PERIPH_SPI
19#error "No SPI support on your board"
20#endif
21
22#ifdef __cplusplus
23#include "spiport.hpp"
24#endif
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#ifndef ARDUINO_SPI_INTERFACE
31#define ARDUINO_SPI_INTERFACE 0
32#endif
33
34#ifdef __cplusplus
35}
36#endif
37
Definition of the Arduino 'SPI' interface.