pub struct Dmcontrol(pub u32);Expand description
Debug Module Control, 0x10
Tuple Fields§
§0: u32Implementations§
source§impl Dmcontrol
impl Dmcontrol
pub fn haltreq(&self) -> bool
pub fn resumereq(&self) -> bool
pub fn ackhavereset(&self) -> bool
pub fn ndmreset(&self) -> bool
pub fn dmactive(&self) -> bool
pub fn set_haltreq(&mut self, value: bool)
pub fn set_resumereq(&mut self, value: bool)
pub fn set_ackhavereset(&mut self, value: bool)
pub fn set_ndmreset(&mut self, value: bool)
pub fn set_dmactive(&mut self, value: bool)
Trait Implementations§
source§impl<T> BitRangeMut<T> for Dmcontrolwhere
u32: BitRangeMut<T>,
impl<T> BitRangeMut<T> for Dmcontrolwhere
u32: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Auto Trait Implementations§
impl RefUnwindSafe for Dmcontrol
impl Send for Dmcontrol
impl Sync for Dmcontrol
impl Unpin for Dmcontrol
impl UnwindSafe for Dmcontrol
Blanket Implementations§
source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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