arch/xtensa/core/cpu_idle.c
/*
 * @brief Put the CPU in low-power mode
 *
 * This function always exits with interrupts unlocked.
 *
 * void k_cpu_idle(void)
 */
@brief Put the CPU in low-power mode
This function always exits with interrupts unlocked.


@brief Put the CPU in low - power mode This function always exits with interrupts unlocked .
void k_cpu_idle(void)
{
#ifdef CONFIG_KERNEL_EVENT_LOGGER_SLEEP
	_sys_k_event_logger_enter_sleep();
#endif
	XT_WAITI(0);
}
void k_cpu_idle ( void ) { #ifdef CONFIG_KERNEL_EVENT_LOGGER_SLEEP _sys_k_event_logger_enter_sleep ( ) ; #endif XT_WAITI ( 0 ) ; }
@brief Put the CPU in low-power mode
 This function always exits with interrupts unlocked.
@brief Put the CPU in low - power mode This function always exits with interrupts unlocked .