Searched refs:SPIFLASH (Results 1 – 1 of 1) sorted by relevance
26 # define SPIFLASH SPI1 macro31 # define SPIFLASH SPIMEM1 macro450 uint32_t old_ctrl_reg = SPIFLASH.ctrl.val; in bootloader_execute_flash_command()452 SPIFLASH.ctrl.val = SPI_WP_REG_M; // keep WP high while idle, otherwise leave DIO mode in bootloader_execute_flash_command()454 SPIFLASH.ctrl.val = SPI_MEM_WP_REG_M; // keep WP high while idle, otherwise leave DIO mode in bootloader_execute_flash_command()456 SPIFLASH.user.usr_dummy = 0; in bootloader_execute_flash_command()457 SPIFLASH.user.usr_addr = 0; in bootloader_execute_flash_command()458 SPIFLASH.user.usr_command = 1; in bootloader_execute_flash_command()459 SPIFLASH.user2.usr_command_bitlen = 7; in bootloader_execute_flash_command()461 SPIFLASH.user2.usr_command_value = command; in bootloader_execute_flash_command()[all …]