Struct Icscr2
#[repr(transparent)]pub struct Icscr2(pub u32);Expand description
RCC internal clock sources calibration register 2
Tuple Fields§
§0: u32Implementations§
§impl Icscr2
impl Icscr2
pub const fn msitrim(&self, n: usize) -> u8
pub const fn msitrim(&self, n: usize) -> u8
MSI clock trimming for ranges 4x to 4x+3 (x = 0..3) These bits provide an additional user-programmable trimming value that is added to the factory-programmed calibration trim value MSIRCx[4:0] bits. It can be programmed to adjust to voltage and temperature variations that influence the frequency of the MSI.
pub const fn set_msitrim(&mut self, n: usize, val: u8)
pub const fn set_msitrim(&mut self, n: usize, val: u8)
MSI clock trimming for ranges 4x to 4x+3 (x = 0..3) These bits provide an additional user-programmable trimming value that is added to the factory-programmed calibration trim value MSIRCx[4:0] bits. It can be programmed to adjust to voltage and temperature variations that influence the frequency of the MSI.
Trait Implementations§
impl Copy for Icscr2
impl Eq for Icscr2
impl StructuralPartialEq for Icscr2
Auto Trait Implementations§
impl Freeze for Icscr2
impl RefUnwindSafe for Icscr2
impl Send for Icscr2
impl Sync for Icscr2
impl Unpin for Icscr2
impl UnsafeUnpin for Icscr2
impl UnwindSafe for Icscr2
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