#[repr(transparent)]pub struct DmaMode2(pub u32);Expand description
DMA Bus Mode.
Tuple Fields§
§0: u32Implementations§
Source§impl DmaMode2
impl DmaMode2
Sourcepub const fn swr(&self) -> bool
pub const fn swr(&self) -> bool
Software Reset. Raw bit values: false (0) = Disable: Software Reset is disabled.; true (1) = Enable: Software Reset is enabled.
Sourcepub const fn set_swr(&mut self, val: bool)
pub const fn set_swr(&mut self, val: bool)
Software Reset. Raw bit values: false (0) = Disable: Software Reset is disabled.; true (1) = Enable: Software Reset is enabled.
Sourcepub const fn da(&self) -> bool
pub const fn da(&self) -> bool
DMA Tx or Rx Arbitration Scheme. Raw bit values: false (0) = Wrr: Weighted Round-Robin with Rx:Tx or Tx:Rx.; true (1) = Fp: Fixed Priority.
Sourcepub const fn set_da(&mut self, val: bool)
pub const fn set_da(&mut self, val: bool)
DMA Tx or Rx Arbitration Scheme. Raw bit values: false (0) = Wrr: Weighted Round-Robin with Rx:Tx or Tx:Rx.; true (1) = Fp: Fixed Priority.
Sourcepub const fn txpr(&self) -> bool
pub const fn txpr(&self) -> bool
Transmit Priority. Raw bit values: false (0) = Disable: Transmit Priority is disabled.; true (1) = Enable: Transmit Priority is enabled.
Trait Implementations§
impl Copy for DmaMode2
impl Eq for DmaMode2
impl StructuralPartialEq for DmaMode2
Auto Trait Implementations§
impl Freeze for DmaMode2
impl RefUnwindSafe for DmaMode2
impl Send for DmaMode2
impl Sync for DmaMode2
impl Unpin for DmaMode2
impl UnwindSafe for DmaMode2
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