feat(spiram): refactor for spiram device driver for s3/c5

This commit is contained in:
C.S.M
2024-07-10 12:03:39 +08:00
parent d1571c144b
commit c431e9b830
9 changed files with 922 additions and 826 deletions

View File

@@ -0,0 +1,25 @@
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Enumeration of PSRAM command types
*/
typedef enum {
PSRAM_HAL_CMD_QPI, /*!< Quad command for psram command */
PSRAM_HAL_CMD_SPI, /*!< SPI command for psram command */
} psram_hal_cmd_mode_t;
#ifdef __cplusplus
}
#endif