Home
last modified time | relevance | path

Searched refs:spi (Results 1 – 25 of 42) sorted by relevance

12

/hal_espressif-latest/components/esp_rom/patches/
Desp_rom_spiflash.c32 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi) in esp_rom_spiflash_wait_idle() argument
41 if ( ESP_ROM_SPIFLASH_RESULT_OK != esp_rom_spiflash_read_status(spi, &status)) { in esp_rom_spiflash_wait_idle()
108 static esp_rom_spiflash_result_t esp_rom_spiflash_enable_write(esp_rom_spiflash_chip_t *spi);
111 static esp_rom_spiflash_result_t esp_rom_spiflash_erase_chip_internal(esp_rom_spiflash_chip_t *spi) in esp_rom_spiflash_erase_chip_internal() argument
113 esp_rom_spiflash_wait_idle(spi); in esp_rom_spiflash_erase_chip_internal()
121 esp_rom_spiflash_wait_idle(spi); in esp_rom_spiflash_erase_chip_internal()
127 …iflash_result_t esp_rom_spiflash_erase_sector_internal(esp_rom_spiflash_chip_t *spi, uint32_t addr) in esp_rom_spiflash_erase_sector_internal() argument
134 esp_rom_spiflash_wait_idle(spi); in esp_rom_spiflash_erase_sector_internal()
142 esp_rom_spiflash_wait_idle(spi); in esp_rom_spiflash_erase_sector_internal()
148 static esp_rom_spiflash_result_t esp_rom_spiflash_erase_block_internal(esp_rom_spiflash_chip_t *spi in esp_rom_spiflash_erase_block_internal() argument
[all …]
/hal_espressif-latest/components/esp_rom/include/
Desp_rom_spiflash.h74 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat…
88 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *…
102 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat…
144 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi);
318 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi);
353 esp_rom_spiflash_result_t esp_rom_spiflash_write_enable(esp_rom_spiflash_chip_t *spi);
/hal_espressif-latest/components/esp_rom/include/esp32c3/rom/
Dspi_flash.h117 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat…
131 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *…
145 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat…
187 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi);
371 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi);
406 esp_rom_spiflash_result_t esp_rom_spiflash_write_enable(esp_rom_spiflash_chip_t *spi);
418 void esp_rom_spiflash_fix_dummylen(uint8_t spi, uint8_t freqdiv);
/hal_espressif-latest/components/esp_rom/include/esp32/rom/
Dspi_flash.h134 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat…
148 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *…
162 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat…
204 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi);
414 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi);
449 esp_rom_spiflash_result_t esp_rom_spiflash_write_enable(esp_rom_spiflash_chip_t *spi);
/hal_espressif-latest/components/esp_rom/include/esp32c6/rom/
Dspi_flash.h110 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat…
124 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *…
138 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat…
180 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi);
364 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi);
399 esp_rom_spiflash_result_t esp_rom_spiflash_write_enable(esp_rom_spiflash_chip_t *spi);
411 void esp_rom_spiflash_fix_dummylen(uint8_t spi, uint8_t freqdiv);
/hal_espressif-latest/components/esp_rom/include/esp32h2/rom/
Dspi_flash.h110 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat…
124 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *…
138 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat…
180 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi);
364 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi);
399 esp_rom_spiflash_result_t esp_rom_spiflash_write_enable(esp_rom_spiflash_chip_t *spi);
411 void esp_rom_spiflash_fix_dummylen(uint8_t spi, uint8_t freqdiv);
/hal_espressif-latest/components/esp_rom/include/esp32s3/rom/
Dspi_flash.h154 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat…
168 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *…
182 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat…
224 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi);
408 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi);
443 esp_rom_spiflash_result_t esp_rom_spiflash_write_enable(esp_rom_spiflash_chip_t *spi);
455 void esp_rom_spiflash_fix_dummylen(uint8_t spi, uint8_t freqdiv);
Dopi_flash.h192 void esp_rom_spi_set_dtr_swap_mode(int spi, bool wr_swap, bool rd_swap);
/hal_espressif-latest/components/esp_rom/include/esp32c2/rom/
Dspi_flash.h123 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat…
137 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *…
151 esp_rom_spiflash_result_t esp_rom_spiflash_write_status(esp_rom_spiflash_chip_t *spi, uint32_t stat…
193 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi);
377 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi);
412 esp_rom_spiflash_result_t esp_rom_spiflash_write_enable(esp_rom_spiflash_chip_t *spi);
424 void esp_rom_spiflash_fix_dummylen(uint8_t spi, uint8_t freqdiv);
/hal_espressif-latest/components/esp_rom/include/esp32s2/rom/
Dspi_flash.h131 esp_rom_spiflash_result_t esp_rom_spiflash_read_status(esp_rom_spiflash_chip_t *spi, uint32_t *stat…
145 esp_rom_spiflash_result_t esp_rom_spiflash_read_statushigh(esp_rom_spiflash_chip_t *spi, uint32_t *…
187 esp_rom_spiflash_result_t esp_rom_spiflash_config_clk(uint8_t freqdiv, uint8_t spi);
359 esp_rom_spiflash_result_t esp_rom_spiflash_wait_idle(esp_rom_spiflash_chip_t *spi);
394 esp_rom_spiflash_result_t esp_rom_spiflash_write_enable(esp_rom_spiflash_chip_t *spi);
406 void esp_rom_spiflash_fix_dummylen(uint8_t spi, uint8_t freqdiv);
Dopi_flash.h152 void esp_rom_spi_set_dtr_swap_mode(int spi, bool wr_swap, bool rd_swap);
/hal_espressif-latest/components/hal/
Dspi_flash_hal.c102 .spi = spi_flash_ll_get_hw(cfg->host_id), in spi_flash_hal_init()
141 bool direct_write = (((spi_flash_hal_context_t *)host)->spi != spi_flash_ll_get_hw(SPI1_HOST)); in spi_flash_hal_supports_direct_write()
150 bool direct_read = ( ((spi_flash_hal_context_t *)host)->spi != spi_flash_ll_get_hw(SPI1_HOST)); in spi_flash_hal_supports_direct_read()
Dspi_flash_hal_iram.c93 return ((spi_flash_hal_context_t*)host)->spi; in get_spi_dev()
182 spimem_flash_ll_resume((spi_mem_dev_t*)(((spi_flash_hal_context_t *)host)->spi)); in spi_flash_hal_resume()
191 spimem_flash_ll_suspend((spi_mem_dev_t *)(((spi_flash_hal_context_t *)host)->spi)); in spi_flash_hal_suspend()
Dspi_flash_hal_common.inc27 return ((spi_flash_hal_context_t*)host)->spi;
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dadvanced-options.rst74 …The optional ``--spi-connection`` argument overrides the SPI flash connection configuration on ESP…
76 …Supply the ``--spi-connection`` argument after the ``esptool.py`` command, ie ``esptool.py flash_i…
81 …If the ``--spi-connection`` argument is not provided, the SPI flash is configured to use :ref:`pin…
83 …rovided. In this case, efuse values are ignored and ``--spi-connection`` will default to ``--spi-c…
90 ``--spi-connection SPI`` uses the default SPI pins:
105 …``--spi-connection HSPI`` uses the HSPI peripheral instead of the SPI peripheral for SPI flash com…
118 …``--spi-connection <CLK>,<Q>,<D>,<HD>,<CS>`` allows a custom list of pins to be configured for the…
122 …For example, ``--spi-connection 6,17,8,11,16`` sets an identical configuration to the factory efus…
Dflash-modes.rst41 For a full explanation of these modes, see the :ref:`SPI Flash Modes page <spi-flash-modes>`.
79 …mand and then looking up the ID from the output (see :ref:`Read SPI flash id <read-spi-flash-id>`).
/hal_espressif-latest/components/esp_system/port/soc/esp32s3/
DKconfig.cache62 If enabled, instruction cache will use wrap mode to read spi flash or spi ram.
132 If enabled, data cache will use wrap mode to read spi flash or spi ram.
/hal_espressif-latest/components/esp_system/port/soc/esp32c2/
DKconfig.cache8 If enabled, instruction cache will use wrap mode to read spi flash.
/hal_espressif-latest/tools/esptool_py/docs/en/advanced-topics/
Dindex.rst11 SPI Flash Modes <spi-flash-modes>
/hal_espressif-latest/components/esp_system/port/soc/esp32s2/
DKconfig.cache62 If enabled, instruction cache will use wrap mode to read spi flash (maybe spiram).
70 If enabled, data cache will use wrap mode to read spiram (maybe spi flash).
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/
Drom_functions.h114 SpiFlashOpResult SPI_read_status_high(esp_rom_spiflash_chip_t *spi, uint32_t *status);
121 SpiFlashOpResult SPI_write_status(esp_rom_spiflash_chip_t *spi, uint32_t status_value);
355 SpiFlashOpResult SPI_write_enable(esp_rom_spiflash_chip_t *spi);
/hal_espressif-latest/components/hal/include/hal/
Dspi_flash_hal.h33 …spi_dev_t *spi; ///< Pointer to SPI peripheral registers (SP1, SPI2 or SPI3). Set befo… member
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/
Dburn-efuse-cmd.rst36 - 'VDD_SPI_AS_GPIO' (Set this bit to vdd spi pin function as gpio) 0b0 -> 0b1
55 .. _espefuse-spi-flash-pins:
/hal_espressif-latest/components/spi_flash/
Dmemspi_host_driver.c130 if ((void*)((memspi_host_inst_t*)host)->spi == (void*) spi_flash_ll_get_hw(SPI1_HOST)) { in memspi_host_flush_cache()
/hal_espressif-latest/tools/esptool_py/
DCHANGELOG.md36 - **esp32-p4**: add spi-connection restriction to ROM class
105 - **spi_connection**: Support --spi-connection on all chips

12