arch/xtensa/core/cpu_idle.c
/*
 * @brief Put the CPU in low-power mode, entered with IRQs locked
 *
 * This function exits with interrupts restored to <key>.
 *
 * void k_cpu_atomic_idle(unsigned int key)
 */
@brief Put the CPU in low-power mode, entered with IRQs locked
This function exits with interrupts restored to .


@brief Put the CPU in low - power mode entered with IRQs locked This function exits with interrupts restored to .
void k_cpu_atomic_idle(unsigned int key)
{
#ifdef CONFIG_KERNEL_EVENT_LOGGER_SLEEP
	_sys_k_event_logger_enter_sleep();
#endif
	XT_WAITI(0);
	XT_WSR_PS(key);
	XT_RSYNC();
}
void k_cpu_atomic_idle ( unsigned int key ) { #ifdef CONFIG_KERNEL_EVENT_LOGGER_SLEEP _sys_k_event_logger_enter_sleep ( ) ; #endif XT_WAITI ( 0 ) ; XT_WSR_PS ( key ) ; XT_RSYNC ( ) ; }
@brief Put the CPU in low-power mode, entered with IRQs locked
 This function exits with interrupts restored to <key>.
@brief Put the CPU in low - power mode entered with IRQs locked This function exits with interrupts restored to <key > .