pub struct Dracr { /* private fields */ }Expand description
DRACR (Data Region Access Control Register)
Implementations§
Source§impl Dracr
impl Dracr
Sourcepub const ZERO: Self
pub const ZERO: Self
Creates a new instance with a raw value of 0. Equivalent to [Self::new_with_raw_value(0)].
Sourcepub const fn new_with_raw_value(value: u32) -> Dracr
pub const fn new_with_raw_value(value: u32) -> Dracr
Creates a new instance of this bitfield with the given raw value.
No checks are performed on the value, so it is possible to set bits that don’t have any accessors specified.
Trait Implementations§
Source§impl SysRegRead for Dracr
impl SysRegRead for Dracr
Source§impl SysRegWrite for Dracr
impl SysRegWrite for Dracr
impl Copy for Dracr
Auto Trait Implementations§
impl Freeze for Dracr
impl RefUnwindSafe for Dracr
impl Send for Dracr
impl Sync for Dracr
impl Unpin for Dracr
impl UnwindSafe for Dracr
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