firmware/src/platform/std_periph/src/stm32f4xx_flash_ramfunc.c
/**
  * @brief Enable/Disable the flash sleep while System Run
  * @note  This mode is only available for STM32F411xx devices. 
  * @note  This mode could n't be set while executing with the flash itself. 
  *        It should be done with specific routine executed from RAM.     
  * @param  NewState: new state of the Smart Card mode.
  *          This parameter can be: ENABLE or DISABLE.  
  * @retval None
  */
@brief Enable/Disable the flash sleep while System Run
@note  This mode is only available for STM32F411xx devices.
@note  This mode could n't be set while executing with the flash itself.
It should be done with specific routine executed from RAM.
@param  NewState: new state of the Smart Card mode.
This parameter can be: ENABLE or DISABLE.
@retval None
@brief Enable / Disable the flash sleep while System Run @note This mode is only available for STM32F411xx devices . @note This mode could n ' t be set while executing with the flash itself . It should be done with specific routine executed from RAM . @param NewState : new state of the Smart Card mode . This parameter can be : ENABLE or DISABLE . @retval None
__RAM_FUNC FLASH_FlashSleepModeCmd(FunctionalState NewState)
{
  if (NewState != DISABLE)
  {
    SET_BIT(PWR->CR, PWR_CR_FMSSR);
  }
  else
  {
    CLEAR_BIT(PWR->CR, PWR_CR_FMSSR);
  }
}
__RAM_FUNC FLASH_FlashSleepModeCmd ( FunctionalState NewState ) { if ( NewState != DISABLE ) { SET_BIT ( PWR -> CR , PWR_CR_FMSSR ) ; } else { CLEAR_BIT ( PWR -> CR , PWR_CR_FMSSR ) ; } }
@brief Enable/Disable the flash sleep while System Run
 @note  This mode is only available for STM32F411xx devices.
@brief Enable / Disable the flash sleep while System Run @note This mode is only available for STM32F411xx devices .
/* Enable the flash sleep while System Run */ /* Disable the flash sleep while System Run */