#[repr(transparent)]pub struct Mctrl(pub u32);Expand description
Master Main Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Mctrl
impl Mctrl
Sourcepub const fn set_request(&mut self, val: Request)
pub const fn set_request(&mut self, val: Request)
Request
Sourcepub const fn set_ibiresp(&mut self, val: Ibiresp)
pub const fn set_ibiresp(&mut self, val: Ibiresp)
In-Band Interrupt (IBI) response
Sourcepub const fn set_rdterm(&mut self, val: u8)
pub const fn set_rdterm(&mut self, val: u8)
Read terminate
Trait Implementations§
impl Copy for Mctrl
impl Eq for Mctrl
impl StructuralPartialEq for Mctrl
Auto Trait Implementations§
impl Freeze for Mctrl
impl RefUnwindSafe for Mctrl
impl Send for Mctrl
impl Sync for Mctrl
impl Unpin for Mctrl
impl UnwindSafe for Mctrl
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