components

Module debug_writer

Source
Expand description

Component for DebugWriter, the implementation for debug!().

This provides components for attaching the kernel debug output (for panic!, print!, debug!, etc.) to the output. DebugWriterComponent uses a UART mux, and DebugWriterNoMuxComponent just uses a UART interface directly.

§Usage

DebugWriterComponent::new(uart_mux).finalize(components::debug_writer_component_static!());

components::debug_writer::DebugWriterNoMuxComponent::new(
    &nrf52::uart::UARTE0,
)
.finalize(());

Structs§

Constants§