#[repr(transparent)]pub struct OscConfig1Tog(pub u32);Expand description
XTAL OSC Configuration 1 Register
Tuple Fields§
§0: u32Implementations§
Source§impl OscConfig1Tog
impl OscConfig1Tog
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 OscConfig1Tog
impl Clone for OscConfig1Tog
Source§fn clone(&self) -> OscConfig1Tog
fn clone(&self) -> OscConfig1Tog
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 OscConfig1Tog
impl Debug for OscConfig1Tog
Source§impl Default for OscConfig1Tog
impl Default for OscConfig1Tog
Source§fn default() -> OscConfig1Tog
fn default() -> OscConfig1Tog
Returns the “default value” for a type. Read more
Source§impl PartialEq for OscConfig1Tog
impl PartialEq for OscConfig1Tog
impl Copy for OscConfig1Tog
impl Eq for OscConfig1Tog
impl StructuralPartialEq for OscConfig1Tog
Auto Trait Implementations§
impl Freeze for OscConfig1Tog
impl RefUnwindSafe for OscConfig1Tog
impl Send for OscConfig1Tog
impl Sync for OscConfig1Tog
impl Unpin for OscConfig1Tog
impl UnwindSafe for OscConfig1Tog
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