Function cortex_m::asm::bkpt

source ·
pub fn bkpt()
Expand description

Puts the processor in Debug state. Debuggers can pick this up as a “breakpoint”.

NOTE calling bkpt when the processor is not connected to a debugger will cause an exception.