Function cortex_m::itm::write_aligned
source · Expand description
Writes a 4-byte aligned buffer
to an ITM port.
Examples
let mut buffer = Aligned([0; 14]);
buffer.0.copy_from_slice(b"Hello, world!\n");
itm::write_aligned(port, &buffer);
// Or equivalently
itm::write_aligned(port, &Aligned(*b"Hello, world!\n"));