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