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
SerialCompatand provide acore::fmt::Writeadapter. - 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::Writetarget. - write_
hex - Writes a byte slice in hexadecimal format to a
fmt::Writetarget.