Example #1
0
/**
 ****************************************************************************************
 * @brief OSC interrupt handler, BLE wakeup source
 ***************************************************************************************
 */
void OSC_EN_IRQHandler(void)
{
#if QN_32K_LOW_POWER_MODE_EN==TRUE
    exit_low_power_mode();
#endif
    NVIC->ICER[0] = 0x00000020;
    wakeup_from_sleeptimer = 1;
}
Example #2
0
void OSC_EN_IRQHandler(void)
{
#if QN_LOW_POWER_MODE_EN==TRUE
    exit_low_power_mode();
#endif
    NVIC->ICER[0] = 0x00000020;
    rwble_prevent_sleep_set(0x0001);
}
Example #3
0
void OSC_EN_IRQHandler(void)
{
#if QN_LOW_POWER_MODE_EN==TRUE
    exit_low_power_mode();
#endif
    NVIC->ICER[0] = 0x00000020;
    rwble_prevent_sleep_set(0x0001);
		//QPRINTF("WAKE FROM SLEEP TIMER\r\n");
}