#[repr(transparent)]pub struct Mctrl(pub u32);Expand description
Master Control
Tuple Fields§
§0: u32Implementations§
Source§impl Mctrl
impl Mctrl
Sourcepub const fn set_enable(&mut self, val: Enable)
pub const fn set_enable(&mut self, val: Enable)
Enable
Sourcepub const fn rtc_int_bmc(&self) -> RtcIntBmc
pub const fn rtc_int_bmc(&self) -> RtcIntBmc
RTC-Integrated-BMC
Sourcepub const fn set_rtc_int_bmc(&mut self, val: RtcIntBmc)
pub const fn set_rtc_int_bmc(&mut self, val: RtcIntBmc)
RTC-Integrated-BMC
Sourcepub const fn set_p80ena(&mut self, val: bool)
pub const fn set_p80ena(&mut self, val: bool)
Port 80 Enable
Sourcepub const fn set_sblkena(&mut self, val: bool)
pub const fn set_sblkena(&mut self, val: bool)
Status Block Enable
Sourcepub const fn clk_div_disable(&self) -> ClkDivDisable
pub const fn clk_div_disable(&self) -> ClkDivDisable
Clock Division Disable
Sourcepub const fn set_clk_div_disable(&mut self, val: ClkDivDisable)
pub const fn set_clk_div_disable(&mut self, val: ClkDivDisable)
Clock Division Disable
Sourcepub const fn early_sample(&self) -> bool
pub const fn early_sample(&self) -> bool
Early Sample
Sourcepub const fn set_early_sample(&mut self, val: bool)
pub const fn set_early_sample(&mut self, val: bool)
Early Sample
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