/* Initializes the SPI Flash module. 
Initializes the SPI Flash module  */
void spi_flash_init(void)
/* Initializes the SPI Flash module. 
Initializes the SPI Flash module  */
void spi_flash_init(void)
{
	LPMCU_MISC_REGS0->PINMUX_SEL_3.reg = \
							LPMCU_MISC_REGS_PINMUX_SEL_3_LP_SIP_0_SEL_SPI_FLASH0_SCK | \ 
							LPMCU_MISC_REGS_PINMUX_SEL_3_LP_SIP_1_SEL_SPI_FLASH0_TXD | \
							LPMCU_MISC_REGS_PINMUX_SEL_3_LP_SIP_2_SEL_SPI_FLASH0_SSN | \
							LPMCU_MISC_REGS_PINMUX_SEL_3_LP_SIP_3_SEL_SPI_FLASH0_RXD;
	SPI_FLASH0->MODE_CTRL.reg = SPI_FLASH_MODE_CTRL_RESETVALUE;
	spi_flash_leave_low_power_mode();
}