Struct stm32_metapac::rcc::regs::Csicfgr
#[repr(transparent)]pub struct Csicfgr(pub u32);
Expand description
RCC CSI calibration register.
Tuple Fields§
§0: u32
Implementations§
§impl Csicfgr
impl Csicfgr
pub const fn csical(&self) -> u8
pub const fn csical(&self) -> u8
CSI clock calibration Set by hardware by option byte loading. Adjusted by software through trimming bits CSITRIM. This field represents the sum of engineering option byte calibration value and CSITRIM bits value.
pub fn set_csical(&mut self, val: u8)
pub fn set_csical(&mut self, val: u8)
CSI clock calibration Set by hardware by option byte loading. Adjusted by software through trimming bits CSITRIM. This field represents the sum of engineering option byte calibration value and CSITRIM bits value.
pub const fn csitrim(&self) -> u8
pub const fn csitrim(&self) -> u8
CSI clock trimming Set by software to adjust calibration. CSITRIM field is added to the engineering option bytes loaded during reset phase (FLASH_CSI_opt) in order to form the calibration trimming value. CSICAL = CSITRIM + FLASH_CSI_opt. Note: The reset value of the field is 0x20.
pub fn set_csitrim(&mut self, val: u8)
pub fn set_csitrim(&mut self, val: u8)
CSI clock trimming Set by software to adjust calibration. CSITRIM field is added to the engineering option bytes loaded during reset phase (FLASH_CSI_opt) in order to form the calibration trimming value. CSICAL = CSITRIM + FLASH_CSI_opt. Note: The reset value of the field is 0x20.
Trait Implementations§
impl Copy for Csicfgr
impl Eq for Csicfgr
impl StructuralPartialEq for Csicfgr
Auto Trait Implementations§
impl Freeze for Csicfgr
impl RefUnwindSafe for Csicfgr
impl Send for Csicfgr
impl Sync for Csicfgr
impl Unpin for Csicfgr
impl UnwindSafe for Csicfgr
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
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)
clone_to_uninit
)