Struct stm32_metapac::syscfg::regs::Cccr
#[repr(transparent)]pub struct Cccr(pub u32);
Expand description
compensation cell code register
Tuple Fields§
§0: u32
Implementations§
§impl Cccr
impl Cccr
pub const fn ncc1(&self) -> u8
pub const fn ncc1(&self) -> u8
NMOS compensation code of the I/Os supplied by VDD These bits are written by software to define an I/Os compensation cell code for NMOS transistors. This code is applied to the I/Os compensation cell when the CS1 bit of the CCCSR is set.
pub fn set_ncc1(&mut self, val: u8)
pub fn set_ncc1(&mut self, val: u8)
NMOS compensation code of the I/Os supplied by VDD These bits are written by software to define an I/Os compensation cell code for NMOS transistors. This code is applied to the I/Os compensation cell when the CS1 bit of the CCCSR is set.
Trait Implementations§
impl Copy for Cccr
impl Eq for Cccr
impl StructuralPartialEq for Cccr
Auto Trait Implementations§
impl Freeze for Cccr
impl RefUnwindSafe for Cccr
impl Send for Cccr
impl Sync for Cccr
impl Unpin for Cccr
impl UnwindSafe for Cccr
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
)