#[non_exhaustive]pub struct TxConfig { /* private fields */ }
Expand description
UART Transmit part configuration.
Implementations§
Source§impl TxConfig
impl TxConfig
Sourcepub fn with_fifo_empty_threshold(self, fifo_empty_threshold: u16) -> Self
pub fn with_fifo_empty_threshold(self, fifo_empty_threshold: u16) -> Self
Assign the given value to the fifo_empty_threshold
field.
Sourcepub fn fifo_empty_threshold(&self) -> u16
pub fn fifo_empty_threshold(&self) -> u16
Threshold level at which the TX FIFO is considered empty.
Trait Implementations§
impl Copy for TxConfig
Auto Trait Implementations§
impl Freeze for TxConfig
impl RefUnwindSafe for TxConfig
impl Send for TxConfig
impl Sync for TxConfig
impl Unpin for TxConfig
impl UnwindSafe for TxConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)