Host/spi_arch.h
Go to the documentation of this file.
1 /****
2  * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3  * Created 2015 by Skurydin Alexey
4  * http://github.com/SmingHub/Sming
5  * All files of the Sming Core are provided under the LGPL v3 license.
6  *
7  * spi_arch.h - Host
8  */
9 
10 #pragma once
11 
12 static constexpr uint8_t SOC_SPI_PERIPH_NUM{3};
13 
17 enum class SpiBus {
18  INVALID = 0,
19  MIN = 1,
20  SPI1 = 1,
21  SPI2 = 2,
22  SPI3 = 3,
24  DEFAULT = SPI1,
25 };
static constexpr uint8_t SOC_SPI_PERIPH_NUM
Definition: Host/spi_arch.h:12
SpiBus
Identifies bus selection.
Definition: Esp32/spi_arch.h:23