MySensors Library & Examples
2.3.2-62-ge298769
hal
architecture
Linux
drivers
core
SPI.h
1
/*
2
* The MySensors Arduino library handles the wireless radio link and protocol
3
* between your home built sensors/actuators and HA controller of choice.
4
* The sensors forms a self healing radio network with optional repeaters. Each
5
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
6
* network topology allowing messages to be routed to nodes.
7
*
8
* Created by Henrik Ekblad <
[email protected]
>
9
* Copyright (C) 2013-2022 Sensnology AB
10
* Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
11
*
12
* Documentation: http://www.mysensors.org
13
* Support Forum: http://forum.mysensors.org
14
*
15
* This program is free software; you can redistribute it and/or
16
* modify it under the terms of the GNU General Public License
17
* version 2 as published by the Free Software Foundation.
18
*/
19
20
#ifndef _SPI_H_
21
#define _SPI_H_
22
23
#ifdef LINUX_SPI_BCM
24
#include "SPIBCM.h"
25
#define SPI SPIBCM
26
#elif LINUX_SPI_SPIDEV
27
#include "SPIDEV.h"
28
#define SPI SPIDEV
29
#endif
30
31
#endif
Copyright (C) 2013-2019 Sensnology AB. Generated by
doxygen
1.8.17