Crate dvcdbg

Crate dvcdbg 

Source
Expand description

§dvcdbg

Lightweight diagnostic utilities for embedded Rust. Compatible with no_std and multiple HAL backends.

Modules§

compat
compat/mod.rs
error
explore
macros
dvcdbg Macros
prelude
Re-exports common types and macros for convenient access. Users can simply use dvcdbg::prelude::*; to access the main types and macros.
scanner
Scanner utilities for I2C bus device discovery and analysis.

Macros§

adapt_serial
Wrap a type implementing SerialCompat and provide a core::fmt::Write adapter.
assert_log
Logs a simple assertion failure to a logger without panicking.
count_exprs
simple macro to count comma-separated expressions at compile time
get_one_sort
loop_with_delay
Runs a loop with a fixed delay between iterations.
measure_cycles
Measures execution cycles (or timestamps) for an expression using a timer.
nodes
pruning_sort
quick_diag
Quick diagnostic workflow for a new board.
write_bin
Writes a byte slice in binary format to a fmt::Write target.
write_hex
Writes a byte slice in hexadecimal format to a fmt::Write target.