zephyr::raw

Function k_fatal_halt

source
pub unsafe extern "C" fn k_fatal_halt(reason: u32) -> !
Expand description

@brief Halt the system on a fatal error

Invokes architecture-specific code to power off or halt the system in a low power state. Lacking that, lock interrupts and sit in an idle loop.

@param reason Fatal exception reason code