zephyr::raw

Function k_is_pre_kernel

source
pub unsafe extern "C" fn k_is_pre_kernel() -> bool
Expand description

@brief Test whether startup is in the before-main-task phase.

This routine allows the caller to customize its actions, depending on whether it being invoked before the kernel is fully active.

@funcprops \isr_ok

@return true if invoked before post-kernel initialization @return false if invoked during/after post-kernel initialization