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