[][src]Crate itm_logger

Macros

debug
error
info
log

The standard logging macro.

stub
trace
warn

Enums

Level

An enum representing the available verbosity levels of the logger.

Functions

disable_logger
enable_logger
logger_init
update_tpiu_baudrate

Updates the tpiu prescaler to output the desired baud rate trace_clk_freq: The frequency of TRACECLKIN in HZ, this is HCLK on most STM32 devices but is implementation specific. Check the ref manual for TRACECLKIN baud: The baud rate to set on SWO Returns an error if baud > trace_clk_freq or if trace_clk_freq % baud != 0