panic

Function panic 

Source
pub unsafe fn panic<L: Led, PW: PanicWriter, C: Chip, PP: ProcessPrinter>(
    leds: &mut [&L],
    writer_config: PW::Config,
    panic_info: &PanicInfo<'_>,
    nop: &dyn Fn(),
    panic_resources: Option<&PanicResources<C, 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.