|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Go to the source code of this file.
Namespaces | |
| namespace | cdc |
| namespace | cdc::hal |
Functions | |
| spi_host_device_t | cdc::hal::getSharedSpiHost () |
| Returns shared SPI host identifier. | |
| esp_err_t | cdc::hal::initSharedSpiBus () |
| Initializes shared SPI bus once for all SPI peripherals. | |
Variables | |
| static const char * | TAG = "SpiBus" |
| static constexpr spi_host_device_t | cdc::hal::SPI_BUS_HOST = SPI2_HOST |
| Shared SPI host selection for ESP32-S3 user peripherals. | |
| static constexpr uint32_t | cdc::hal::SPI_DMA_CHAN = SPI_DMA_CH_AUTO |
| static std::atomic< bool > | cdc::hal::g_spiInitialized {false} |
|
static |
Shared SPI Bus for Display + TROPIC01 Both devices share SPI2_HOST with manual chip-select control
Definition at line 11 of file SpiBus.cpp.