#[repr(transparent)]pub struct OscConfig1(pub u32);Expand description
XTAL OSC Configuration 1 Register
Tuple Fields§
§0: u32Implementations§
Source§impl OscConfig1
impl OscConfig1
Sourcepub const fn count_rc_trg(&self) -> u16
pub const fn count_rc_trg(&self) -> u16
The target count used to tune the RC OSC frequency
Sourcepub const fn set_count_rc_trg(&mut self, val: u16)
pub const fn set_count_rc_trg(&mut self, val: u16)
The target count used to tune the RC OSC frequency
Sourcepub const fn count_rc_cur(&self) -> u16
pub const fn count_rc_cur(&self) -> u16
The current tuning value in use.
Sourcepub const fn set_count_rc_cur(&mut self, val: u16)
pub const fn set_count_rc_cur(&mut self, val: u16)
The current tuning value in use.
Trait Implementations§
Source§impl Clone for OscConfig1
impl Clone for OscConfig1
Source§fn clone(&self) -> OscConfig1
fn clone(&self) -> OscConfig1
Returns a duplicate 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 Debug for OscConfig1
impl Debug for OscConfig1
Source§impl Default for OscConfig1
impl Default for OscConfig1
Source§fn default() -> OscConfig1
fn default() -> OscConfig1
Returns the “default value” for a type. Read more
Source§impl PartialEq for OscConfig1
impl PartialEq for OscConfig1
impl Copy for OscConfig1
impl Eq for OscConfig1
impl StructuralPartialEq for OscConfig1
Auto Trait Implementations§
impl Freeze for OscConfig1
impl RefUnwindSafe for OscConfig1
impl Send for OscConfig1
impl Sync for OscConfig1
impl Unpin for OscConfig1
impl UnwindSafe for OscConfig1
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