/* Turns on the supply to SPI_Flash Core. 
This functions turns on the supply to SPI_Flash core.  */
void spi_flash_turn_on(void)
/* Turns on the supply to SPI_Flash Core. 
This functions turns on the supply to SPI_Flash core.  */
void spi_flash_turn_on(void)
{
	LPMCU_MISC_REGS0->PULL_ENABLE.reg |= LPMCU_MISC_REGS_PULL_ENABLE_LP_SIP__Msk;
	LPMCU_MISC_REGS0->SPIFLASH_VDDIO_CTRL.reg = LPMCU_MISC_REGS_SPIFLASH_VDDIO_CTRL_ENABLE;
}