pub struct PartialControl<const MASK: u32>(/* private fields */);Expand description
Partial builder struct
Implementations§
Source§impl PartialControl<0>
impl PartialControl<0>
Sourcepub const fn with_enable_interrupt(&self, value: bool) -> PartialControl<16>
pub const fn with_enable_interrupt(&self, value: bool) -> PartialControl<16>
Enable interrupt bit.
Source§impl PartialControl<16>
impl PartialControl<16>
Sourcepub const fn with_reset_rx_fifo(&self, value: bool) -> PartialControl<18>
pub const fn with_reset_rx_fifo(&self, value: bool) -> PartialControl<18>
Reset RX FIFO.
Source§impl PartialControl<18>
impl PartialControl<18>
Sourcepub const fn with_reset_tx_fifo(&self, value: bool) -> PartialControl<19>
pub const fn with_reset_tx_fifo(&self, value: bool) -> PartialControl<19>
Reset TX FIFO.
Auto Trait Implementations§
impl<const MASK: u32> Freeze for PartialControl<MASK>
impl<const MASK: u32> RefUnwindSafe for PartialControl<MASK>
impl<const MASK: u32> Send for PartialControl<MASK>
impl<const MASK: u32> Sync for PartialControl<MASK>
impl<const MASK: u32> Unpin for PartialControl<MASK>
impl<const MASK: u32> UnwindSafe for PartialControl<MASK>
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