1 /*
2  * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #pragma once
8 
9 #include <stddef.h>
10 #include <stdbool.h>
11 #include "esp_err.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
18 /**
19  * @brief get psram CS IO
20  *
21  * This interface should be called after PSRAM is enabled, otherwise it will
22  * return an invalid value -1/0xff.
23  *
24  * @return psram CS IO or -1/0xff if psram not enabled
25  */
26 uint8_t esp_psram_io_get_cs_io(void);
27 
28 
29 #ifdef __cplusplus
30 }
31 #endif
32