常见问答

Häufig gestellte Fragen

How to not enter interrupt process in Power-down mode after wake-up?  Datum: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.
Produkte: Mikrocontroller ,Arm Cortex-M0-MCUs ,M051-Base-Serie ,M0518-Serie ,Mini51-Base-Serie ,Nano100/102-Base-Serie ,Nano110/112-LCD-Serie ,Nano120-USB-Serie ,Nano130-Advanced-Serie ,NUC029-Serie ,NUC100/200-Advanced-Serie ,NUC120/122/123/220-USB-Serie ,NUC130/230-CAN-Serie ,NUC131-NUC1311-CAN-Serie ,NUC140/240-Konnektivität-Serie ,Arm Cortex-M4-MCUs ,M451-Base-Serie ,M451M-Serie ,M452-USB-Serie ,M453-CAN-Serie ,NUC442/472-Serie ,NUC505-Serie
Applikationen:
Funktion: Peripherals,ARM,Interrupt,NVIC,System Operation,Power-down,Wake-up
本网站使用cookie作为与网站互动时识别浏览器之用,浏览本网站即表示您同意本网站对cookie的使用及相关隐私权政策