spi_flash(c3): add boya chip support for suspend feature

This commit is contained in:
Cao Sen Miao
2021-01-24 00:48:07 +08:00
parent 9905da46e0
commit f3e79ca166
18 changed files with 173 additions and 43 deletions
+1 -9
View File
@@ -166,7 +166,7 @@ esp_err_t spi_flash_hal_set_write_protect(spi_flash_host_inst_t *host, bool wp);
*
* @return 0:busy, 1:idle, 2:suspended.
*/
uint32_t spi_flash_hal_host_idle(spi_flash_host_inst_t *host);
uint32_t spi_flash_hal_check_status(spi_flash_host_inst_t *host);
/**
* @brief Configure the SPI host hardware registers for the specified io mode.
@@ -231,14 +231,6 @@ bool spi_flash_hal_supports_direct_write(spi_flash_host_inst_t *host, const void
*/
bool spi_flash_hal_supports_direct_read(spi_flash_host_inst_t *host, const void *p);
/**
* @brief Check the suspend status and resume a suspended operation.
*
* @param host The driver context.
*
*/
bool spi_flash_hal_check_suspend(spi_flash_host_inst_t *host);
/**
* @brief Resume flash chip status from suspend.
*