#[repr(transparent)]pub struct TcmCtrl(pub u32);Expand description
TCM CRTL Register
Tuple Fields§
§0: u32Implementations§
Source§impl TcmCtrl
impl TcmCtrl
Sourcepub const fn tcm_wwait_en(&self) -> TcmWwaitEn
pub const fn tcm_wwait_en(&self) -> TcmWwaitEn
TCM Write Wait Mode Enable
Sourcepub const fn set_tcm_wwait_en(&mut self, val: TcmWwaitEn)
pub const fn set_tcm_wwait_en(&mut self, val: TcmWwaitEn)
TCM Write Wait Mode Enable
Sourcepub const fn tcm_rwait_en(&self) -> TcmRwaitEn
pub const fn tcm_rwait_en(&self) -> TcmRwaitEn
TCM Read Wait Mode Enable
Sourcepub const fn set_tcm_rwait_en(&mut self, val: TcmRwaitEn)
pub const fn set_tcm_rwait_en(&mut self, val: TcmRwaitEn)
TCM Read Wait Mode Enable
Sourcepub const fn force_clk_on(&self) -> bool
pub const fn force_clk_on(&self) -> bool
Force RAM Clock Always On
Sourcepub const fn set_force_clk_on(&mut self, val: bool)
pub const fn set_force_clk_on(&mut self, val: bool)
Force RAM Clock Always On
Sourcepub const fn set_reserved(&mut self, val: u32)
pub const fn set_reserved(&mut self, val: u32)
Reserved
Trait Implementations§
impl Copy for TcmCtrl
impl Eq for TcmCtrl
impl StructuralPartialEq for TcmCtrl
Auto Trait Implementations§
impl Freeze for TcmCtrl
impl RefUnwindSafe for TcmCtrl
impl Send for TcmCtrl
impl Sync for TcmCtrl
impl Unpin for TcmCtrl
impl UnwindSafe for TcmCtrl
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