问答

汇集网友智慧,解决技术难题

tyou

TA的家园币:38  

  • stm32g0 屏蔽的EXTI中断可以唤醒从WFI进入的STOP MODE?

    NVIC_SetPriority(EXTI0_1_IRQn,3);NVIC_DisableIRQ(EXTI0_1_IRQn);HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON,PWR_STOPENTRY_WFI);NVIC_EnableIRQ(EXTI0_1_IRQn);然后EXTI0中断就被执行了这和手册不相符了吧?另外,lptim中断屏蔽后就无法唤醒,systicksuspended.4.3.7Stop1mode-ModeexitIfWFIorReturnfromISRwasusedforentry:AnyEXTILineconfiguredinInterruptmode(thecorrespondingEXTIInterruptvectormustbeenabledintheNVIC).Theinterruptsourcecanbeexternalinterruptsorperipheralswithwakeupcapability.RefertoTable48:Vectortable.

    TI stm32g0 top TE ic

    2021-02-04 7