You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/hal/include/hal/spi_flash_types.h
+1-20Lines changed: 1 addition & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* SPDX-FileCopyrightText: 2010-2024 Espressif Systems (Shanghai) CO LTD
2
+
* SPDX-FileCopyrightText: 2010-2025 Espressif Systems (Shanghai) CO LTD
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
@@ -33,25 +33,6 @@ typedef struct {
33
33
uint32_tio_mode; ///< Flash working mode when `SPI_FLASH_IGNORE_BASEIO` is specified.
34
34
} spi_flash_trans_t;
35
35
36
-
/**
37
-
* @brief SPI flash clock speed values, always refer to them by the enum rather
38
-
* than the actual value (more speed may be appended into the list).
39
-
*
40
-
* A strategy to select the maximum allowed speed is to enumerate from the
41
-
* ``ESP_FLSH_SPEED_MAX-1`` or highest frequency supported by your flash, and
42
-
* decrease the speed until the probing success.
43
-
*/
44
-
typedefenumesp_flash_speed_s {
45
-
ESP_FLASH_5MHZ=5, ///< The flash runs under 5MHz
46
-
ESP_FLASH_10MHZ=10, ///< The flash runs under 10MHz
47
-
ESP_FLASH_20MHZ=20, ///< The flash runs under 20MHz
48
-
ESP_FLASH_26MHZ=26, ///< The flash runs under 26MHz
49
-
ESP_FLASH_40MHZ=40, ///< The flash runs under 40MHz
50
-
ESP_FLASH_80MHZ=80, ///< The flash runs under 80MHz
51
-
ESP_FLASH_120MHZ=120, ///< The flash runs under 120MHz, 120MHZ can only be used by main flash after timing tuning in system. Do not use this directly in any API.
52
-
ESP_FLASH_SPEED_MAX, ///< The maximum frequency supported by the host is ``ESP_FLASH_SPEED_MAX-1``.
53
-
} esp_flash_speed_t __attribute__((deprecated));
54
-
55
36
// These bits are not quite like "IO mode", but are able to be appended into the io mode and used by the HAL.
56
37
#defineSPI_FLASH_CONFIG_CONF_BITS BIT(31) ///< OR the io_mode with this mask, to enable the dummy output feature or replace the first several dummy bits into address to meet the requirements of conf bits. (Used in DIO/QIO/OIO mode)
0 commit comments