[][src]Function drone_cortex_m::itm::write_str

pub fn write_str(address: usize, string: &str)

Writes string to the stimulus port number address.

The presence of a debug probe is not checked, so it is recommended to use it together with is_port_enabled.

Examples

use drone_cortex_m::itm;

if itm::is_port_enabled(11) {
    itm::write_str(11, "hello there!\n");
}