Struct stm32_metapac::syscfg::regs::Cccsr
#[repr(transparent)]pub struct Cccsr(pub u32);
Expand description
SBS compensation cell for I/Os control and status register
Tuple Fields§
§0: u32
Implementations§
§impl Cccsr
impl Cccsr
pub const fn en(&self, n: usize) -> bool
pub const fn en(&self, n: usize) -> bool
enable compensation cell for VDDIO power rail This bit enables the I/O compensation cell.
pub fn set_en(&mut self, n: usize, val: bool)
pub fn set_en(&mut self, n: usize, val: bool)
enable compensation cell for VDDIO power rail This bit enables the I/O compensation cell.
pub const fn cs(&self, n: usize) -> Cs
pub const fn cs(&self, n: usize) -> Cs
code selection for VDDIO power rail (reset value set to 1) This bit selects the code to be applied for the I/O compensation cell.
pub fn set_cs(&mut self, n: usize, val: Cs)
pub fn set_cs(&mut self, n: usize, val: Cs)
code selection for VDDIO power rail (reset value set to 1) This bit selects the code to be applied for the I/O compensation cell.
Trait Implementations§
impl Copy for Cccsr
impl Eq for Cccsr
impl StructuralPartialEq for Cccsr
Auto Trait Implementations§
impl Freeze for Cccsr
impl RefUnwindSafe for Cccsr
impl Send for Cccsr
impl Sync for Cccsr
impl Unpin for Cccsr
impl UnwindSafe for Cccsr
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
)