Home
last modified time | relevance | path

Searched refs:SPI_IDX (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/spi_flash/esp32h2/
Dspi_flash_rom_patch.c19 #define SPI_IDX 1 macro
23 REG_WRITE(SPI_MEM_CMD_REG(SPI_IDX), SPI_MEM_FLASH_WRDI); in esp_rom_spiflash_write_disable()
/hal_espressif-3.6.0/components/spi_flash/esp32c3/
Dspi_flash_rom_patch.c19 #define SPI_IDX 1 macro
23 REG_WRITE(SPI_MEM_CMD_REG(SPI_IDX), SPI_MEM_FLASH_WRDI); in esp_rom_spiflash_write_disable()
/hal_espressif-3.6.0/components/spi_flash/esp32s2/
Dspi_flash_rom_patch.c20 #define SPI_IDX 1 macro
25 REG_WRITE(SPI_MEM_CMD_REG(SPI_IDX), SPI_MEM_FLASH_WRDI); in esp_rom_spiflash_write_disable()
/hal_espressif-3.6.0/components/spi_flash/esp32/
Dspi_flash_rom_patch.c20 #define SPI_IDX 1 macro
87 CLEAR_PERI_REG_MASK(SPI_CTRL_REG(SPI_IDX), SPI_WRSR_2B); in esp_rom_spiflash_unlock()
97 SET_PERI_REG_MASK(SPI_CTRL_REG(SPI_IDX), SPI_WRSR_2B); in esp_rom_spiflash_unlock()
101 REG_WRITE(SPI_CMD_REG(SPI_IDX), SPI_FLASH_WREN); in esp_rom_spiflash_unlock()
102 while (REG_READ(SPI_CMD_REG(SPI_IDX)) != 0) { in esp_rom_spiflash_unlock()
108 REG_WRITE(SPI_CMD_REG(SPI_IDX), SPI_FLASH_WRDI); in esp_rom_spiflash_unlock()
109 while (REG_READ(SPI_CMD_REG(SPI_IDX)) != 0) { in esp_rom_spiflash_unlock()
688 REG_WRITE(SPI_CMD_REG(SPI_IDX), SPI_FLASH_WRDI); in esp_rom_spiflash_write_disable()