|
TB2026-YDS Firmware
|
SPI buses: display on SPI2 (HSPI), SD card on SPI3 (VSPI). More...
#include "esp_err.h"#include "driver/spi_master.h"Go to the source code of this file.
Macros | |
| #define | SPI_BUS_DISPLAY_HOST SPI2_HOST |
| #define | SPI_BUS_SDCARD_HOST SPI3_HOST |
Functions | |
| esp_err_t | spi_bus_display_init (spi_device_handle_t *out_handle) |
| Initialize SPI2 and add the display as a device. | |
| esp_err_t | spi_bus_sdcard_init (void) |
| Initialize SPI3 only; the sdcard driver attaches itself via sdspi (host = SPI_BUS_SDCARD_HOST, CS = PIN_SD_CS). | |
SPI buses: display on SPI2 (HSPI), SD card on SPI3 (VSPI).
Both run on native IOMUX pins.