add flash and PSRAM CS IO acquire function

This commit is contained in:
chenjianqiang
2021-07-02 21:46:49 +08:00
committed by Li Shuai
parent 5fd169059d
commit 42039cde0a
10 changed files with 79 additions and 1 deletions

View File

@@ -78,6 +78,15 @@ size_t esp_spiram_get_size(void);
*/
void esp_spiram_writeback_cache(void);
/**
* @brief get psram CS IO
*
* This interface should be called after PSRAM is enabled, otherwise it will
* return an invalid value -1/0xff.
*
* @return psram CS IO or -1/0xff if psram not enabled
*/
uint8_t esp_spiram_get_cs_io(void);
/**