#[repr(transparent)]pub struct Enableset1(pub u32);Expand description
Channel Enable read and Set for all DMA channels.
Tuple Fields§
§0: u32Implementations§
Source§impl Enableset1
impl Enableset1
Sourcepub const fn set_enable32(&mut self, val: bool)
pub const fn set_enable32(&mut self, val: bool)
Enable for DMA channel 32
Sourcepub const fn enable63_33(&self) -> Enable6333
pub const fn enable63_33(&self) -> Enable6333
Additional enables for remaining DMA channels in the range 63 to 33.
Sourcepub const fn set_enable63_33(&mut self, val: Enable6333)
pub const fn set_enable63_33(&mut self, val: Enable6333)
Additional enables for remaining DMA channels in the range 63 to 33.
Trait Implementations§
Source§impl Clone for Enableset1
impl Clone for Enableset1
Source§fn clone(&self) -> Enableset1
fn clone(&self) -> Enableset1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Enableset1
impl Debug for Enableset1
Source§impl Default for Enableset1
impl Default for Enableset1
Source§fn default() -> Enableset1
fn default() -> Enableset1
Returns the “default value” for a type. Read more
Source§impl PartialEq for Enableset1
impl PartialEq for Enableset1
impl Copy for Enableset1
impl Eq for Enableset1
impl StructuralPartialEq for Enableset1
Auto Trait Implementations§
impl Freeze for Enableset1
impl RefUnwindSafe for Enableset1
impl Send for Enableset1
impl Sync for Enableset1
impl Unpin for Enableset1
impl UnwindSafe for Enableset1
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