Sming Framework API
()
Toggle main menu visibility
Sming
Libraries
SPI
src
Arch
Rp2040
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,
23
MAX
=
SOC_SPI_PERIPH_NUM
,
24
DEFAULT
=
SPI1
,
25
};
SOC_SPI_PERIPH_NUM
static constexpr uint8_t SOC_SPI_PERIPH_NUM
Definition:
Rp2040/spi_arch.h:13
SpiBus
SpiBus
Identifies bus selection.
Definition:
Esp32/spi_arch.h:23
SpiBus::SPI1
@ SPI1
SpiBus::MAX
@ MAX
SpiBus::DEFAULT
@ DEFAULT
SpiBus::SPI2
@ SPI2
SpiBus::INVALID
@ INVALID
SpiBus::MIN
@ MIN
Generated by
1.9.1