[−][src]Struct stm32f3xx_hal_v2::serial::Tx
Serial transmitter
Implementations
impl Tx<USART1>
[src]
pub fn write_all<B, C>(self, buffer: B, channel: C) -> Transfer<B, C, Self> where
Self: OnChannel<C>,
B: ReadBuffer<Word = u8> + 'static,
C: Channel,
[src]
Self: OnChannel<C>,
B: ReadBuffer<Word = u8> + 'static,
C: Channel,
Transmit all data in the buffer using DMA.
impl Tx<USART2>
[src]
pub fn write_all<B, C>(self, buffer: B, channel: C) -> Transfer<B, C, Self> where
Self: OnChannel<C>,
B: ReadBuffer<Word = u8> + 'static,
C: Channel,
[src]
Self: OnChannel<C>,
B: ReadBuffer<Word = u8> + 'static,
C: Channel,
Transmit all data in the buffer using DMA.
impl Tx<USART3>
[src]
pub fn write_all<B, C>(self, buffer: B, channel: C) -> Transfer<B, C, Self> where
Self: OnChannel<C>,
B: ReadBuffer<Word = u8> + 'static,
C: Channel,
[src]
Self: OnChannel<C>,
B: ReadBuffer<Word = u8> + 'static,
C: Channel,
Transmit all data in the buffer using DMA.
Trait Implementations
impl Default<u8> for Tx<USART1>
[src]
impl Default<u8> for Tx<USART2>
[src]
impl Default<u8> for Tx<USART3>
[src]
impl OnChannel<C2> for Tx<USART3>
[src]
impl OnChannel<C4> for Tx<USART1>
[src]
impl OnChannel<C7> for Tx<USART2>
[src]
impl Target for Tx<USART1>
[src]
pub fn enable_dma(&mut self)
[src]
pub fn disable_dma(&mut self)
[src]
impl Target for Tx<USART2>
[src]
pub fn enable_dma(&mut self)
[src]
pub fn disable_dma(&mut self)
[src]
impl Target for Tx<USART3>
[src]
pub fn enable_dma(&mut self)
[src]
pub fn disable_dma(&mut self)
[src]
impl Write<u8> for Tx<USART1>
[src]
type Error = Infallible
Write error
pub fn flush(&mut self) -> Result<(), Infallible>
[src]
pub fn write(&mut self, byte: u8) -> Result<(), Infallible>
[src]
impl Write<u8> for Tx<USART2>
[src]
type Error = Infallible
Write error
pub fn flush(&mut self) -> Result<(), Infallible>
[src]
pub fn write(&mut self, byte: u8) -> Result<(), Infallible>
[src]
impl Write<u8> for Tx<USART3>
[src]
type Error = Infallible
Write error
pub fn flush(&mut self) -> Result<(), Infallible>
[src]
pub fn write(&mut self, byte: u8) -> Result<(), Infallible>
[src]
Auto Trait Implementations
impl<USART> Send for Tx<USART> where
USART: Send,
[src]
USART: Send,
impl<USART> Sync for Tx<USART> where
USART: Sync,
[src]
USART: Sync,
impl<USART> Unpin for Tx<USART> where
USART: Unpin,
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<S, Word> Write<Word> for S where
Word: Clone,
S: Default<Word>,
[src]
Word: Clone,
S: Default<Word>,