#[repr(transparent)]pub struct Mcr0(pub u32);Expand description
Module Control 0.
Tuple Fields§
§0: u32Implementations§
Source§impl Mcr0
impl Mcr0
Sourcepub const fn set_swreset(&mut self, val: Swreset)
pub const fn set_swreset(&mut self, val: Swreset)
Software Reset.
Sourcepub const fn set_rxclksrc(&mut self, val: Rxclksrc)
pub const fn set_rxclksrc(&mut self, val: Rxclksrc)
Sample Clock Source for Flash Reading.
Sourcepub const fn set_serclkdiv(&mut self, val: Serclkdiv)
pub const fn set_serclkdiv(&mut self, val: Serclkdiv)
Serial Root Clock Divider.
Sourcepub const fn set_dozeen(&mut self, val: Dozeen)
pub const fn set_dozeen(&mut self, val: Dozeen)
Doze Mode Enable.
Sourcepub const fn combinationen(&self) -> bool
pub const fn combinationen(&self) -> bool
Combination Mode Enable.
Sourcepub const fn set_combinationen(&mut self, val: bool)
pub const fn set_combinationen(&mut self, val: bool)
Combination Mode Enable.
Sourcepub const fn sckfreerunen(&self) -> bool
pub const fn sckfreerunen(&self) -> bool
SCLK Free-running Enable.
Sourcepub const fn set_sckfreerunen(&mut self, val: bool)
pub const fn set_sckfreerunen(&mut self, val: bool)
SCLK Free-running Enable.
Sourcepub const fn set_learnen(&mut self, val: bool)
pub const fn set_learnen(&mut self, val: bool)
Data Learning Enable.
Sourcepub const fn ipgrantwait(&self) -> u8
pub const fn ipgrantwait(&self) -> u8
Timeout Wait Cycle for IP Command Grant.
Sourcepub const fn set_ipgrantwait(&mut self, val: u8)
pub const fn set_ipgrantwait(&mut self, val: u8)
Timeout Wait Cycle for IP Command Grant.
Sourcepub const fn ahbgrantwait(&self) -> u8
pub const fn ahbgrantwait(&self) -> u8
Timeouts Wait Cycle for AHB command Grant.
Sourcepub const fn set_ahbgrantwait(&mut self, val: u8)
pub const fn set_ahbgrantwait(&mut self, val: u8)
Timeouts Wait Cycle for AHB command Grant.
Trait Implementations§
impl Copy for Mcr0
impl Eq for Mcr0
impl StructuralPartialEq for Mcr0
Auto Trait Implementations§
impl Freeze for Mcr0
impl RefUnwindSafe for Mcr0
impl Send for Mcr0
impl Sync for Mcr0
impl Unpin for Mcr0
impl UnwindSafe for Mcr0
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