/* Checks whether the FLASH SMPSEL is SMP1 or SMP2.  */
void FLASH_SetSMPSELStatus(FLASH_SMPSEL FLASH_smpsel)
/* Checks whether the FLASH SMPSEL is SMP1 or SMP2.  */
void FLASH_SetSMPSELStatus(FLASH_SMPSEL FLASH_smpsel)
{
    assert_param(IS_FLASH_SMPSEL_STATE(FLASH_smpsel));
    FLASH->CTRL &= CTRL_Reset_SMPSEL;
    FLASH->CTRL |= FLASH_smpsel;
}