Struct rp_pac::powman::regs::XoscFreqKhzFrac
source · #[repr(transparent)]pub struct XoscFreqKhzFrac(pub u32);
Expand description
Informs the AON Timer of the fractional component of the clock frequency when running off the XOSC.
Tuple Fields§
§0: u32
Implementations§
source§impl XoscFreqKhzFrac
impl XoscFreqKhzFrac
sourcepub const fn xosc_freq_khz_frac(&self) -> u16
pub const fn xosc_freq_khz_frac(&self) -> u16
Fractional component of the XOSC frequency in kHz. This field must only be written when POWMAN_TIMER_RUN=0 or POWMAN_TIMER_USING_XOSC=0
sourcepub fn set_xosc_freq_khz_frac(&mut self, val: u16)
pub fn set_xosc_freq_khz_frac(&mut self, val: u16)
Fractional component of the XOSC frequency in kHz. This field must only be written when POWMAN_TIMER_RUN=0 or POWMAN_TIMER_USING_XOSC=0
Trait Implementations§
source§impl Clone for XoscFreqKhzFrac
impl Clone for XoscFreqKhzFrac
source§fn clone(&self) -> XoscFreqKhzFrac
fn clone(&self) -> XoscFreqKhzFrac
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 XoscFreqKhzFrac
impl Default for XoscFreqKhzFrac
source§fn default() -> XoscFreqKhzFrac
fn default() -> XoscFreqKhzFrac
Returns the “default value” for a type. Read more
source§impl PartialEq for XoscFreqKhzFrac
impl PartialEq for XoscFreqKhzFrac
impl Copy for XoscFreqKhzFrac
impl Eq for XoscFreqKhzFrac
impl StructuralPartialEq for XoscFreqKhzFrac
Auto Trait Implementations§
impl Freeze for XoscFreqKhzFrac
impl RefUnwindSafe for XoscFreqKhzFrac
impl Send for XoscFreqKhzFrac
impl Sync for XoscFreqKhzFrac
impl Unpin for XoscFreqKhzFrac
impl UnwindSafe for XoscFreqKhzFrac
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
)