#[repr(transparent)]pub struct Firccsr(pub u32);Expand description
FIRC Control Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl Firccsr
impl Firccsr
Sourcepub const fn set_fircen(&mut self, val: bool)
pub const fn set_fircen(&mut self, val: bool)
FIRC Enable
Sourcepub const fn set_fircsten(&mut self, val: Fircsten)
pub const fn set_fircsten(&mut self, val: Fircsten)
FIRC Stop Enable
Sourcepub const fn firc_sclk_periph_en(&self) -> bool
pub const fn firc_sclk_periph_en(&self) -> bool
FIRC 45 MHz Clock to peripherals Enable
Sourcepub const fn set_firc_sclk_periph_en(&mut self, val: bool)
pub const fn set_firc_sclk_periph_en(&mut self, val: bool)
FIRC 45 MHz Clock to peripherals Enable
Sourcepub const fn firc_fclk_periph_en(&self) -> bool
pub const fn firc_fclk_periph_en(&self) -> bool
FRO_HF Clock to peripherals Enable
Sourcepub const fn set_firc_fclk_periph_en(&mut self, val: bool)
pub const fn set_firc_fclk_periph_en(&mut self, val: bool)
FRO_HF Clock to peripherals Enable
Sourcepub const fn set_fircvld(&mut self, val: Fircvld)
pub const fn set_fircvld(&mut self, val: Fircvld)
FIRC Valid status
Sourcepub const fn set_fircsel(&mut self, val: bool)
pub const fn set_fircsel(&mut self, val: bool)
FIRC Selected
Sourcepub const fn set_fircerr(&mut self, val: Fircerr)
pub const fn set_fircerr(&mut self, val: Fircerr)
FIRC Clock Error
Sourcepub const fn fircerr_ie(&self) -> FircerrIe
pub const fn fircerr_ie(&self) -> FircerrIe
FIRC Clock Error Interrupt Enable
Sourcepub const fn set_fircerr_ie(&mut self, val: FircerrIe)
pub const fn set_fircerr_ie(&mut self, val: FircerrIe)
FIRC Clock Error Interrupt Enable
Sourcepub const fn fircacc_ie(&self) -> FircaccIe
pub const fn fircacc_ie(&self) -> FircaccIe
FIRC Accurate Interrupt Enable
Sourcepub const fn set_fircacc_ie(&mut self, val: FircaccIe)
pub const fn set_fircacc_ie(&mut self, val: FircaccIe)
FIRC Accurate Interrupt Enable
Sourcepub const fn set_fircacc(&mut self, val: Fircacc)
pub const fn set_fircacc(&mut self, val: Fircacc)
FIRC Frequency Accurate
Trait Implementations§
impl Copy for Firccsr
impl Eq for Firccsr
impl StructuralPartialEq for Firccsr
Auto Trait Implementations§
impl Freeze for Firccsr
impl RefUnwindSafe for Firccsr
impl Send for Firccsr
impl Sync for Firccsr
impl Unpin for Firccsr
impl UnwindSafe for Firccsr
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