pub unsafe fn panic<L: Led, W: Write + IoWrite, C: Chip, PP: ProcessPrinter>(
leds: &mut [&L],
writer: &mut W,
panic_info: &PanicInfo<'_>,
nop: &dyn Fn(),
processes: &'static [Option<&'static dyn Process>],
chip: &'static Option<&'static C>,
process_printer: &'static Option<&'static PP>,
) -> !
Expand description
Tock default panic routine.
NOTE: The supplied writer
must be synchronous.
This will print a detailed debugging message and then loop forever while blinking an LED in a recognizable pattern.