Rp2040/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 - Rp2040
8  *
9  */
10 
11 #pragma once
12 
13 static constexpr uint8_t SOC_SPI_PERIPH_NUM{2};
14 
18 enum class SpiBus {
19  INVALID = 0,
20  MIN = 1,
21  SPI1 = 1,
22  SPI2 = 2,
24  DEFAULT = SPI1,
25 };
static constexpr uint8_t SOC_SPI_PERIPH_NUM
Definition: Rp2040/spi_arch.h:13
SpiBus
Identifies bus selection.
Definition: Esp32/spi_arch.h:23