FAQ

FAQ

How to not enter interrupt process in Power-down mode after wake-up?  Issue Date:2015-03-23

Before entering Power-down mode, the user can disable IRQ handling by calling the function__disable_irq ();which allows the system to continuously execute the next command when entering Power-down mode after wake-up without entering the interrupt process.In addition, the user also needs to consider the following points:

  • Use the function
          __ISB ();
          after the function __WFI to clear commands fetched, so that the subsequent commands can be correctly fetched and executed;
  • Write "1" to NVIC_ICPR to clear the corresponding pending IRQ handlers;
  • Clear the interrupt flag.
Products: Microcontrollers ,Arm Cortex-M0 MCUs ,M051 Base Series ,M0518 Series ,Mini51 Base Series ,Nano100/102 Base Series ,Nano110/112 LCD Series ,Nano120 USB Series ,Nano130 Advanced Series ,NUC029 Series ,NUC100/200 Advanced Series ,NUC120/122/123/220 USB Series ,NUC130/230 CAN Series ,NUC131/NUC1311 CAN Series ,NUC140/240 Connectivity Series ,Arm Cortex-M4 MCUs ,M451 Base Series ,M451M Series ,M452 USB Series ,M453 CAN Series ,NUC442/472 Series ,NUC505 Series
Applications:
Function: Peripherals,ARM,Interrupt,NVIC,System Operation,Power-down,Wake-up