Searched refs:SPI_USER_REG (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32/ |
D | spiram_psram.c | 228 CLEAR_PERI_REG_MASK(SPI_USER_REG(spi_num), SPI_FWRITE_QIO); in psram_set_basic_write_mode() 229 CLEAR_PERI_REG_MASK(SPI_USER_REG(spi_num), SPI_FWRITE_DIO); in psram_set_basic_write_mode() 230 CLEAR_PERI_REG_MASK(SPI_USER_REG(spi_num), SPI_FWRITE_QUAD); in psram_set_basic_write_mode() 231 CLEAR_PERI_REG_MASK(SPI_USER_REG(spi_num), SPI_FWRITE_DUAL); in psram_set_basic_write_mode() 236 SET_PERI_REG_MASK(SPI_USER_REG(spi_num), SPI_FWRITE_QIO); in psram_set_qio_write_mode() 237 CLEAR_PERI_REG_MASK(SPI_USER_REG(spi_num), SPI_FWRITE_DIO); in psram_set_qio_write_mode() 238 CLEAR_PERI_REG_MASK(SPI_USER_REG(spi_num), SPI_FWRITE_QUAD); in psram_set_qio_write_mode() 239 CLEAR_PERI_REG_MASK(SPI_USER_REG(spi_num), SPI_FWRITE_DUAL); in psram_set_qio_write_mode() 267 uint32_t mode_backup = (READ_PERI_REG(SPI_USER_REG(spi_num)) >> SPI_FWRITE_DUAL_S) & 0xf; in psram_cmd_recv_start() 287 …SET_PERI_REG_BITS(SPI_USER_REG(spi_num), (pRxData?SPI_FWRITE_DUAL_M:0xf), mode_backup, SPI_FWRITE_… in psram_cmd_recv_start() [all …]
|
/hal_espressif-3.6.0/components/spi_flash/esp32/ |
D | spi_flash_rom_patch.c | 341 REG_CLR_BIT(SPI_USER_REG(0), SPI_USR_MOSI); in spi_cache_mode_switch() 342 REG_SET_BIT(SPI_USER_REG(0), SPI_USR_MISO | SPI_USR_DUMMY | SPI_USR_ADDR); in spi_cache_mode_switch() 347 REG_CLR_BIT(SPI_USER_REG(0), SPI_USR_MOSI); in spi_cache_mode_switch() 348 REG_SET_BIT(SPI_USER_REG(0), SPI_USR_MISO | SPI_USR_DUMMY | SPI_USR_ADDR); in spi_cache_mode_switch() 365 REG_CLR_BIT(SPI_USER_REG(0), SPI_USR_MOSI); in spi_cache_mode_switch() 367 REG_CLR_BIT(SPI_USER_REG(0), SPI_USR_DUMMY); in spi_cache_mode_switch() 369 REG_SET_BIT(SPI_USER_REG(0), SPI_USR_DUMMY); in spi_cache_mode_switch() 372 REG_SET_BIT(SPI_USER_REG(0), SPI_USR_MISO | SPI_USR_ADDR); in spi_cache_mode_switch()
|
/hal_espressif-3.6.0/components/bootloader_support/src/ |
D | bootloader_flash_config_esp32.c | 37 SET_PERI_REG_MASK(SPI_USER_REG(0), SPI_CS_HOLD_M | SPI_CS_SETUP_M); in bootloader_flash_cs_timing_config() 40 SET_PERI_REG_MASK(SPI_USER_REG(1), SPI_CS_HOLD_M | SPI_CS_SETUP_M); in bootloader_flash_cs_timing_config()
|
/hal_espressif-3.6.0/components/esp_rom/include/esp32/rom/ |
D | spi_flash.h | 77 #define PERIPHS_SPI_FLASH_USRREG SPI_USER_REG(1)
|
/hal_espressif-3.6.0/components/soc/esp32c3/include/soc/ |
D | spi_reg.h | 184 #define SPI_USER_REG(i) (REG_SPI_BASE(i) + 0x10) macro
|
/hal_espressif-3.6.0/components/soc/esp32h2/include/soc/ |
D | spi_reg.h | 184 #define SPI_USER_REG(i) (REG_SPI_BASE(i) + 0x10) macro
|
/hal_espressif-3.6.0/components/soc/esp32s3/include/soc/ |
D | spi_reg.h | 205 #define SPI_USER_REG(i) (REG_SPI_BASE(i) + 0x10) macro
|
/hal_espressif-3.6.0/components/soc/esp32/include/soc/ |
D | spi_reg.h | 364 #define SPI_USER_REG(i) (REG_SPI_BASE(i) + 0x1C) macro
|
/hal_espressif-3.6.0/components/soc/esp32s2/include/soc/ |
D | spi_reg.h | 264 #define SPI_USER_REG(i) (REG_SPI_BASE(i) + 0x018) macro
|