CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
ISpiBus.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "driver/spi_master.h"
4
#include "esp_err.h"
5
6
namespace
cdc::hal
{
7
12
13
// Get the shared SPI host (initialized by CalEPD or first user)
14
spi_host_device_t
getSharedSpiHost
();
15
16
// Initialize shared SPI bus if not already done
17
esp_err_t
initSharedSpiBus
();
18
19
}
// namespace cdc::hal
cdc::hal
Definition
IBluetoothController.h:8
cdc::hal::initSharedSpiBus
esp_err_t initSharedSpiBus()
Initializes shared SPI bus once for all SPI peripherals.
Definition
SpiBus.cpp:33
cdc::hal::getSharedSpiHost
spi_host_device_t getSharedSpiHost()
Returns shared SPI host identifier.
Definition
SpiBus.cpp:25
components
cdc_hal
include
cdc_hal
ISpiBus.h
Generated by
1.16.1