/* Selects the condition for the system to enter low power mode.  */
void NVIC_SystemLPConfig(uint8_t LowPowerMode, FunctionalState NewState)
/* Selects the condition for the system to enter low power mode.  */
void NVIC_SystemLPConfig(uint8_t LowPowerMode, FunctionalState NewState)
{
  if (NewState != DISABLE)
  {
    SCB->SCR |= LowPowerMode;
  }
  else
  {
    SCB->SCR &= (uint32_t)(~(uint32_t)LowPowerMode);
  }
}