#[repr(transparent)]pub struct Apllcsr(pub u32);Expand description
APLL Control Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl Apllcsr
impl Apllcsr
Sourcepub const fn set_apllpwren(&mut self, val: bool)
pub const fn set_apllpwren(&mut self, val: bool)
APLL Power Enable
Sourcepub const fn set_apllclken(&mut self, val: bool)
pub const fn set_apllclken(&mut self, val: bool)
APLL Clock Enable
Sourcepub const fn set_apllsten(&mut self, val: Apllsten)
pub const fn set_apllsten(&mut self, val: Apllsten)
APLL Stop Enable
Sourcepub const fn set_apllcm(&mut self, val: bool)
pub const fn set_apllcm(&mut self, val: bool)
APLL Clock Monitor
Sourcepub const fn set_apllcmre(&mut self, val: Apllcmre)
pub const fn set_apllcmre(&mut self, val: Apllcmre)
APLL Clock Monitor Reset Enable
Sourcepub const fn set_apll_lock(&mut self, val: ApllLock)
pub const fn set_apll_lock(&mut self, val: ApllLock)
APLL LOCK
Sourcepub const fn set_apllsel(&mut self, val: bool)
pub const fn set_apllsel(&mut self, val: bool)
APLL Selected
Sourcepub const fn set_apllerr(&mut self, val: Apllerr)
pub const fn set_apllerr(&mut self, val: Apllerr)
APLL Clock Error
Sourcepub const fn apll_lock_ie(&self) -> bool
pub const fn apll_lock_ie(&self) -> bool
APLL LOCK Interrupt Enable
Sourcepub const fn set_apll_lock_ie(&mut self, val: bool)
pub const fn set_apll_lock_ie(&mut self, val: bool)
APLL LOCK Interrupt Enable
Trait Implementations§
impl Copy for Apllcsr
impl Eq for Apllcsr
impl StructuralPartialEq for Apllcsr
Auto Trait Implementations§
impl Freeze for Apllcsr
impl RefUnwindSafe for Apllcsr
impl Send for Apllcsr
impl Sync for Apllcsr
impl Unpin for Apllcsr
impl UnwindSafe for Apllcsr
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