Struct stm32_metapac::syscfg::regs::Ccvr
#[repr(transparent)]pub struct Ccvr(pub u32);
Expand description
compensation cell value register
Tuple Fields§
§0: u32
Implementations§
§impl Ccvr
impl Ccvr
pub const fn ncv1(&self) -> u8
pub const fn ncv1(&self) -> u8
NMOS compensation value of the I/Os supplied by VDD This value is provided by the cell and can be used by the CPU to compute 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 reset.
pub fn set_ncv1(&mut self, val: u8)
pub fn set_ncv1(&mut self, val: u8)
NMOS compensation value of the I/Os supplied by VDD This value is provided by the cell and can be used by the CPU to compute 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 reset.
pub const fn pcv1(&self) -> u8
pub const fn pcv1(&self) -> u8
PMOS compensation value of the I/Os supplied by VDD This value is provided by the cell and can be used by the CPU to compute an I/Os compensation cell code for PMOS transistors. This code is applied to the I/Os compensation cell when the CS1 bit of the CCCSR is reset.
pub fn set_pcv1(&mut self, val: u8)
pub fn set_pcv1(&mut self, val: u8)
PMOS compensation value of the I/Os supplied by VDD This value is provided by the cell and can be used by the CPU to compute an I/Os compensation cell code for PMOS transistors. This code is applied to the I/Os compensation cell when the CS1 bit of the CCCSR is reset.
Trait Implementations§
impl Copy for Ccvr
impl Eq for Ccvr
impl StructuralPartialEq for Ccvr
Auto Trait Implementations§
impl Freeze for Ccvr
impl RefUnwindSafe for Ccvr
impl Send for Ccvr
impl Sync for Ccvr
impl Unpin for Ccvr
impl UnwindSafe for Ccvr
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
)