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