1 // Copyright (C) 2022 Beken Corporation 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #pragma once 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 22 typedef enum { 23 PSRAM_240M = 0, 24 PSRAM_160M, 25 PSRAM_120M, 26 PSRAM_60M 27 }psram_clk_t; 28 29 typedef enum { 30 PSRAM_OUT_3_2V = 0, 31 PSRAM_OUT_3V, 32 PSRAM_OUT_2V, 33 PSRAM_OUT_1_3V 34 }psram_voltage_t; 35 36 typedef enum { 37 PSRAM_INCRASE_TRANS = 0, 38 PSRAM_32_WORD_WRAP, 39 PSRAM_64_WORD_WRAP, 40 PSRAM_128_WORD_WRAP, 41 PSRAM_256_WORD_WRAP, 42 PSRAM_512_WORD_WRAP, 43 PSRAM_1024_WORD_WRAP, 44 PSRAM_2048_WORD_WRAP 45 }psram_tansfer_mode_t; 46 47 48 49 50 51 /* 52 * @} 53 */ 54 55 #ifdef __cplusplus 56 } 57 #endif 58 59 60