Struct drone_stm32f1::itm::port::Port
[−]
[src]
pub struct Port(_);
ITM stimulus port pointer.
Methods
impl Port
[src]
fn new(port: usize) -> Port
[src]
fn write_stream(&self, buffer: &[u8])
[src]
Writes a buffer in most effective chunks, splitting it to 8- and 32-bit slices.
fn write_all<T: Transmit>(&self, buffer: &[T])
[src]
Writes an entire buffer in chunks of size_of::<T>() * 8
bits.
fn write<T: Transmit>(&self, value: T)
[src]
Writes a value into a port.
Trait Implementations
impl Write for Port
[src]
fn write_str(&mut self, string: &str) -> Result
[src]
Writes a slice of bytes into this writer, returning whether the write succeeded. Read more
fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0[src]
Writes a [char
] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0[src]
Glue for usage of the [write!
] macro with implementors of this trait. Read more