Struct stm32f407g_disc::serial::Tx [−][src]
pub struct Tx<USART> { /* fields omitted */ }
Serial transmitter
Trait Implementations
impl DMASet<Stream6<DMA1>, Channel4, MemoryToPeripheral> for Tx<USART2>
[src]
impl DMASet<Stream6<DMA2>, Channel5, MemoryToPeripheral> for Tx<USART6>
[src]
impl DMASet<Stream7<DMA2>, Channel4, MemoryToPeripheral> for Tx<USART1>
[src]
impl DMASet<Stream7<DMA2>, Channel5, MemoryToPeripheral> for Tx<USART6>
[src]
impl<USART> PeriAddress for Tx<USART> where
USART: Instance,
[src]
USART: Instance,
impl<USART> Write for Tx<USART> where
Tx<USART>: Write<u8>,
[src]
Tx<USART>: Write<u8>,
pub fn write_str(&mut self, s: &str) -> Result<(), Error>
[src]
pub fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0[src]
pub fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Error>
1.0.0[src]
impl<USART> Write<u8> for Tx<USART> where
USART: Instance,
[src]
USART: Instance,
type Error = Error
Write error
pub fn flush(&mut self) -> Result<(), Error<<Tx<USART> as Write<u8>>::Error>>
[src]
pub fn write(
&mut self,
byte: u8
) -> Result<(), Error<<Tx<USART> as Write<u8>>::Error>>
[src]
&mut self,
byte: u8
) -> Result<(), Error<<Tx<USART> as Write<u8>>::Error>>
impl<USART> Write<u8> for Tx<USART> where
USART: Instance,
[src]
USART: Instance,
Auto Trait Implementations
impl<USART> Send for Tx<USART> where
USART: Send,
USART: Send,
impl<USART> Sync for Tx<USART> where
USART: Sync,
USART: Sync,
impl<USART> Unpin for Tx<USART> where
USART: Unpin,
USART: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,