mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(driver_spi): split spi hal component
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/*
|
||||
* Pin definition header file. The long term plan is to have a single soc_pins.h for all
|
||||
* peripherals. Now we temporarily separate these information into periph_pins/channels.h for each
|
||||
* peripheral and include them here to avoid developing conflicts in those header files.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "soc/gpio_pins.h"
|
||||
#include "soc/spi_pins.h"
|
||||
@@ -1,24 +0,0 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define MSPI_FUNC_NUM 0
|
||||
#define MSPI_IOMUX_PIN_NUM_CS0 7
|
||||
#define MSPI_IOMUX_PIN_NUM_CS1 6
|
||||
#define MSPI_IOMUX_PIN_NUM_MISO 8
|
||||
#define MSPI_IOMUX_PIN_NUM_WP 9
|
||||
#define MSPI_IOMUX_PIN_NUM_HD 10
|
||||
#define MSPI_IOMUX_PIN_NUM_CLK 11
|
||||
#define MSPI_IOMUX_PIN_NUM_MOSI 12
|
||||
|
||||
#define SPI2_FUNC_NUM 2
|
||||
#define SPI2_IOMUX_PIN_NUM_MISO 15
|
||||
#define SPI2_IOMUX_PIN_NUM_HD 19
|
||||
#define SPI2_IOMUX_PIN_NUM_WP 18
|
||||
#define SPI2_IOMUX_PIN_NUM_CLK 16
|
||||
#define SPI2_IOMUX_PIN_NUM_MOSI 17
|
||||
#define SPI2_IOMUX_PIN_NUM_CS 20
|
||||
Reference in New Issue
Block a user