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.
How to not enter interrupt process in Power-down mode after wake-up?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest
