pub unsafe fn panic_print<W: Write + IoWrite, C: Chip>(
writer: &mut W,
nop: &dyn Fn(),
processes: &'static [Option<&'static dyn Process>],
chip: &'static Option<&'static C>
Tock panic routine, without the infinite LED-blinking loop.
This is useful for boards which do not feature LEDs to blink or want to implement their own behaviour. This method returns after performing the panic dump.
After this method returns, the system is no longer in a well-defined state. Care must be taken on how one interacts with the system once this function returns.
NOTE: The supplied
writer must be synchronous.