常见问答

よくあるご質問

How to not enter interrupt process in Power-down mode after wake-up?  日付: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.
製品: マイクロコントローラ ,Arm Cortex-M0 MCU ,M051 ベースシリーズ ,M0518シリーズ ,ミニ 51 ベースシリーズ ,ナノ 100/102 ベースシリーズ ,ナノ 110/112 LCD シリーズ ,ナノ 120 USB シリーズ ,ナノ 130 アドバンストシリーズ ,NUC029 シリーズ ,NUC100/200 アドバンストシリーズ ,NUC120/122/123/220 USB シリーズ ,NUC130/230 CAN シリーズ ,NUC131/NUC1311 CAN シリーズ ,NUC140/240 コネクティビティシリーズ ,Arm Cortex-M4 MCU ,M451 ベースシリーズ ,M451M シリーズ ,M452 USB シリーズ ,M453 CAN シリーズ ,NUC442/472 シリーズ ,NUC505 シリーズ
アプリケーション:
機能: Peripherals,ARM,Interrupt,NVIC,System Operation,Power-down,Wake-up