Struct stm32f103xx_hal::serial::Tx
[−]
[src]
pub struct Tx<USART> { /* fields omitted */ }
Serial transmitter
Methods
impl Tx<USART1>
[src]
pub fn write_all<A, B>(self, chan: C4, buffer: B) -> Transfer<R, B, C4, Self> where
A: Unsize<[u8]>,
B: Static<A>,
[src]
A: Unsize<[u8]>,
B: Static<A>,
impl Tx<USART2>
[src]
pub fn write_all<A, B>(self, chan: C7, buffer: B) -> Transfer<R, B, C7, Self> where
A: Unsize<[u8]>,
B: Static<A>,
[src]
A: Unsize<[u8]>,
B: Static<A>,
impl Tx<USART3>
[src]
pub fn write_all<A, B>(self, chan: C2, buffer: B) -> Transfer<R, B, C2, Self> where
A: Unsize<[u8]>,
B: Static<A>,
[src]
A: Unsize<[u8]>,
B: Static<A>,
Trait Implementations
impl Write<u8> for Tx<USART1>
[src]
type Error = !
Write error
fn flush(&mut self) -> Result<(), !>
[src]
Ensures that none of the previously written words are still buffered
fn write(&mut self, byte: u8) -> Result<(), !>
[src]
Writes a single word to the serial interface
impl Write<u8> for Tx<USART2>
[src]
type Error = !
Write error
fn flush(&mut self) -> Result<(), !>
[src]
Ensures that none of the previously written words are still buffered
fn write(&mut self, byte: u8) -> Result<(), !>
[src]
Writes a single word to the serial interface