#[repr(transparent)]pub struct Mctrl3(pub u32);Expand description
Controller Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Mctrl3
impl Mctrl3
Sourcepub const fn set_request(&mut self, val: Request2)
pub const fn set_request(&mut self, val: Request2)
Request.
Sourcepub const fn set_ibiresp(&mut self, val: Ibiresp2)
pub const fn set_ibiresp(&mut self, val: Ibiresp2)
In-Band Interrupt Response.
Sourcepub const fn dir(&self) -> bool
pub const fn dir(&self) -> bool
Direction. Raw bit values: false (0) = Dirwrite: Write.; true (1) = Dirread: Read.
Sourcepub const fn set_dir(&mut self, val: bool)
pub const fn set_dir(&mut self, val: bool)
Direction. Raw bit values: false (0) = Dirwrite: Write.; true (1) = Dirread: Read.
Sourcepub const fn set_rdterm(&mut self, val: u8)
pub const fn set_rdterm(&mut self, val: u8)
Read Terminate Counter.
Trait Implementations§
impl Copy for Mctrl3
impl Eq for Mctrl3
impl StructuralPartialEq for Mctrl3
Auto Trait Implementations§
impl Freeze for Mctrl3
impl RefUnwindSafe for Mctrl3
impl Send for Mctrl3
impl Sync for Mctrl3
impl Unpin for Mctrl3
impl UnwindSafe for Mctrl3
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