pub struct Tx<USART, Config> { /* private fields */ }
Expand description
Serial transmitter
Implementations§
Source§impl Tx<USART1, FullConfig>
impl Tx<USART1, FullConfig>
Sourcepub fn fifo_threshold_reached(&self) -> bool
pub fn fifo_threshold_reached(&self) -> bool
Returns true if the tx fifo threshold has been reached.
Source§impl Tx<USART2, FullConfig>
impl Tx<USART2, FullConfig>
Sourcepub fn fifo_threshold_reached(&self) -> bool
pub fn fifo_threshold_reached(&self) -> bool
Returns true if the tx fifo threshold has been reached.
Trait Implementations§
Source§impl<Config> Target for Tx<LPUART, Config>
impl<Config> Target for Tx<LPUART, Config>
Source§fn dmamux(&self) -> DmaMuxIndex
fn dmamux(&self) -> DmaMuxIndex
Returns the correct DMAMUX index to configure DMA channel for this peripheral
Source§fn enable_dma(&mut self)
fn enable_dma(&mut self)
Enable DMA on the target
Source§fn disable_dma(&mut self)
fn disable_dma(&mut self)
Disable DMA on the target
Source§impl<Config> Target for Tx<USART1, Config>
impl<Config> Target for Tx<USART1, Config>
Source§fn dmamux(&self) -> DmaMuxIndex
fn dmamux(&self) -> DmaMuxIndex
Returns the correct DMAMUX index to configure DMA channel for this peripheral
Source§fn enable_dma(&mut self)
fn enable_dma(&mut self)
Enable DMA on the target
Source§fn disable_dma(&mut self)
fn disable_dma(&mut self)
Disable DMA on the target
Source§impl<Config> Target for Tx<USART2, Config>
impl<Config> Target for Tx<USART2, Config>
Source§fn dmamux(&self) -> DmaMuxIndex
fn dmamux(&self) -> DmaMuxIndex
Returns the correct DMAMUX index to configure DMA channel for this peripheral
Source§fn enable_dma(&mut self)
fn enable_dma(&mut self)
Enable DMA on the target
Source§fn disable_dma(&mut self)
fn disable_dma(&mut self)
Disable DMA on the target
Source§impl<Config> Target for Tx<USART3, Config>
impl<Config> Target for Tx<USART3, Config>
Source§fn dmamux(&self) -> DmaMuxIndex
fn dmamux(&self) -> DmaMuxIndex
Returns the correct DMAMUX index to configure DMA channel for this peripheral
Source§fn enable_dma(&mut self)
fn enable_dma(&mut self)
Enable DMA on the target
Source§fn disable_dma(&mut self)
fn disable_dma(&mut self)
Disable DMA on the target
Source§impl<Config> Target for Tx<USART4, Config>
impl<Config> Target for Tx<USART4, Config>
Source§fn dmamux(&self) -> DmaMuxIndex
fn dmamux(&self) -> DmaMuxIndex
Returns the correct DMAMUX index to configure DMA channel for this peripheral
Source§fn enable_dma(&mut self)
fn enable_dma(&mut self)
Enable DMA on the target
Source§fn disable_dma(&mut self)
fn disable_dma(&mut self)
Disable DMA on the target
Source§impl<USART, Config> Write for Tx<USART, Config>
impl<USART, Config> Write for Tx<USART, Config>
Auto Trait Implementations§
impl<USART, Config> Freeze for Tx<USART, Config>
impl<USART, Config> RefUnwindSafe for Tx<USART, Config>where
USART: RefUnwindSafe,
Config: RefUnwindSafe,
impl<USART, Config> Send for Tx<USART, Config>
impl<USART, Config> Sync for Tx<USART, Config>
impl<USART, Config> Unpin for Tx<USART, Config>
impl<USART, Config> UnwindSafe for Tx<USART, Config>where
USART: UnwindSafe,
Config: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more