| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Functions | |
| void | arch_cpu_idle (void) | 
| Power save idle routine.  More... | |
| void | arch_cpu_atomic_idle (unsigned int key) | 
| Atomically re-enable interrupts and enter low power mode.  More... | |
| FUNC_NORETURN void | arch_system_halt (unsigned int reason) | 
| void arch_cpu_atomic_idle | ( | unsigned int | key | ) | 
#include <include/zephyr/sys/arch_interface.h>
Atomically re-enable interrupts and enter low power mode.
The requirements for arch_cpu_atomic_idle() are as follows:
| key | Lockout key returned by previous invocation of arch_irq_lock() | 
| void arch_cpu_idle | ( | void | ) | 
#include <include/zephyr/sys/arch_interface.h>
Power save idle routine.
This function will be called by the kernel idle loop or possibly within an implementation of z_pm_save_idle in the kernel when the '_pm_save_flag' variable is non-zero.
Architectures that do not implement power management instructions may immediately return, otherwise a power-saving instruction should be issued to wait for an interrupt.
| FUNC_NORETURN void arch_system_halt | ( | unsigned int | reason | ) | 
#include <kernel/include/kernel_arch_interface.h>
Halt the system, optionally propagating a reason code