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.