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