Struct rp_pac::powman::regs::LposcFreqKhzFrac
source · #[repr(transparent)]pub struct LposcFreqKhzFrac(pub u32);
Expand description
Informs the AON Timer of the fractional component of the clock frequency when running off the LPOSC.
Tuple Fields§
§0: u32
Implementations§
source§impl LposcFreqKhzFrac
impl LposcFreqKhzFrac
sourcepub const fn lposc_freq_khz_frac(&self) -> u16
pub const fn lposc_freq_khz_frac(&self) -> u16
Fractional component of the LPOSC or GPIO clock source frequency in kHz. Default = 0.768 This field must only be written when POWMAN_TIMER_RUN=0 or POWMAN_TIMER_USING_XOSC=1
sourcepub fn set_lposc_freq_khz_frac(&mut self, val: u16)
pub fn set_lposc_freq_khz_frac(&mut self, val: u16)
Fractional component of the LPOSC or GPIO clock source frequency in kHz. Default = 0.768 This field must only be written when POWMAN_TIMER_RUN=0 or POWMAN_TIMER_USING_XOSC=1
Trait Implementations§
source§impl Clone for LposcFreqKhzFrac
impl Clone for LposcFreqKhzFrac
source§fn clone(&self) -> LposcFreqKhzFrac
fn clone(&self) -> LposcFreqKhzFrac
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for LposcFreqKhzFrac
impl Default for LposcFreqKhzFrac
source§fn default() -> LposcFreqKhzFrac
fn default() -> LposcFreqKhzFrac
Returns the “default value” for a type. Read more
source§impl PartialEq for LposcFreqKhzFrac
impl PartialEq for LposcFreqKhzFrac
impl Copy for LposcFreqKhzFrac
impl Eq for LposcFreqKhzFrac
impl StructuralPartialEq for LposcFreqKhzFrac
Auto Trait Implementations§
impl Freeze for LposcFreqKhzFrac
impl RefUnwindSafe for LposcFreqKhzFrac
impl Send for LposcFreqKhzFrac
impl Sync for LposcFreqKhzFrac
impl Unpin for LposcFreqKhzFrac
impl UnwindSafe for LposcFreqKhzFrac
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)