components/esp_hw_support/port/esp32s3/spiram_psram.c
static void psram_reset_mode(int spi_num)
{
    psram_exec_cmd(spi_num, PSRAM_CMD_SPI,
    PSRAM_RESET_EN, 8,                /* command and command bit len*/
    0, 0,  /* address and address bit len*/
    0,                                /* dummy bit len */
    NULL, 0,                          /* tx data and tx bit len*/
    NULL, 0,                          /* rx data and rx bit len*/
    CS_PSRAM_SEL,                     /* cs bit mask*/
    false);                           /* whether is program/erase operation */

    psram_exec_cmd(spi_num, PSRAM_CMD_SPI,
    PSRAM_RESET, 8,                   /* command and command bit len*/
    0, 0,  /* address and address bit len*/
    0,                                /* dummy bit len */
    NULL, 0,                          /* tx data and tx bit len*/
    NULL, 0,                          /* rx data and rx bit len*/
    CS_PSRAM_SEL,                     /* cs bit mask*/
    false);                           /* whether is program/erase operation */
}
//send reset command to psram, in spi mode
send reset command to psram, in spi mode
send reset command to psram in spi mode
static void psram_reset_mode(int spi_num)
{
    psram_exec_cmd(spi_num, PSRAM_CMD_SPI,
    PSRAM_RESET_EN, 8,                
    0, 0,  
    0,                                
    NULL, 0,                          
    NULL, 0,                          
    CS_PSRAM_SEL,                     
    false);                           
    psram_exec_cmd(spi_num, PSRAM_CMD_SPI,
    PSRAM_RESET, 8,                   
    0, 0,  
    0,                                
    NULL, 0,                          
    NULL, 0,                          
    CS_PSRAM_SEL,                     
    false);                           
}
static void psram_reset_mode ( int spi_num ) { psram_exec_cmd ( spi_num , PSRAM_CMD_SPI , PSRAM_RESET_EN , 8 , 0 , 0 , 0 , NULL , 0 , NULL , 0 , CS_PSRAM_SEL , false ) ; psram_exec_cmd ( spi_num , PSRAM_CMD_SPI , PSRAM_RESET , 8 , 0 , 0 , 0 , NULL , 0 , NULL , 0 , CS_PSRAM_SEL , false ) ; }
send reset command to psram, in spi mode
send reset command to psram in spi mode
/* command and command bit len*/ /* address and address bit len*/ /* dummy bit len */ /* tx data and tx bit len*/ /* rx data and rx bit len*/ /* cs bit mask*/ /* whether is program/erase operation */ /* command and command bit len*/ /* address and address bit len*/ /* dummy bit len */ /* tx data and tx bit len*/ /* rx data and rx bit len*/ /* cs bit mask*/ /* whether is program/erase operation */