mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'feature/suspend_support_c5_c61' into 'master'
feat(spi_flash): Add spi flash suspend support on esp32c5, esp32c61 Closes IDF-12879 and IDF-12635 See merge request espressif/esp-idf!39652
This commit is contained in:
@@ -57,6 +57,7 @@ typedef struct {
|
||||
#define SPI_FLASH_HOST_CONTEXT_SLICER_FLAG_DTR BIT(0) ///< Slice data according to DTR mode, the address and length must be even (A0=0).
|
||||
int freq_mhz; /// Flash clock frequency.
|
||||
uint8_t tsus_val; ///< Tsus value of suspend (us)
|
||||
uint8_t trs_val; ///< Trs value of suspend (us)
|
||||
bool auto_waiti_pes; ///< True for auto-wait idle after suspend command. False for using time delay.
|
||||
} spi_flash_hal_context_t;
|
||||
ESP_STATIC_ASSERT(sizeof(spi_flash_hal_context_t) == 48, "size of spi_flash_hal_context_t incorrect. Please check data compatibility with the ROM");
|
||||
@@ -94,6 +95,7 @@ typedef struct {
|
||||
int freq_mhz; ///< SPI flash clock speed (MHZ).
|
||||
int clock_src_freq; ///< SPI flash clock source (MHZ).
|
||||
uint8_t tsus_val; ///< Tsus value of suspend (us).
|
||||
uint8_t trs_val; ///< Trs value of suspend (us)
|
||||
bool auto_waiti_pes; ///< True for auto-wait idle after suspend command. False for using time delay.
|
||||
} spi_flash_hal_config_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user