Struct stm32_metapac::syscfg::regs::Ccswcr
#[repr(transparent)]pub struct Ccswcr(pub u32);
Expand description
SBS compensation cell for I/Os software code register
Tuple Fields§
§0: u32
Implementations§
§impl Ccswcr
impl Ccswcr
pub const fn sw_ansrc1(&self) -> u8
pub const fn sw_ansrc1(&self) -> u8
NMOS compensation code for VDD power rails This bitfield is written by software to define an I/O compensation cell code for NMOS transistors of the VDD power rail. This code is applied to the I/O when CS1 is set in SBS_CCSR.
pub fn set_sw_ansrc1(&mut self, val: u8)
pub fn set_sw_ansrc1(&mut self, val: u8)
NMOS compensation code for VDD power rails This bitfield is written by software to define an I/O compensation cell code for NMOS transistors of the VDD power rail. This code is applied to the I/O when CS1 is set in SBS_CCSR.
pub const fn sw_apsrc1(&self) -> u8
pub const fn sw_apsrc1(&self) -> u8
PMOS compensation code for the VDD power rails This bitfield is written by software to define an I/O compensation cell code for PMOS transistors of the VDDIO power rail. This code is applied to the I/O when CS1 is set in SBS_CCSR.
pub fn set_sw_apsrc1(&mut self, val: u8)
pub fn set_sw_apsrc1(&mut self, val: u8)
PMOS compensation code for the VDD power rails This bitfield is written by software to define an I/O compensation cell code for PMOS transistors of the VDDIO power rail. This code is applied to the I/O when CS1 is set in SBS_CCSR.
pub const fn sw_ansrc2(&self) -> u8
pub const fn sw_ansrc2(&self) -> u8
NMOS compensation code for VDDIO power rails This bitfield is written by software to define an I/O compensation cell code for NMOS transistors of the VDD power rail. This code is applied to the I/O when CS2 is set in SBS_CCSR.
pub fn set_sw_ansrc2(&mut self, val: u8)
pub fn set_sw_ansrc2(&mut self, val: u8)
NMOS compensation code for VDDIO power rails This bitfield is written by software to define an I/O compensation cell code for NMOS transistors of the VDD power rail. This code is applied to the I/O when CS2 is set in SBS_CCSR.
pub const fn sw_apsrc2(&self) -> u8
pub const fn sw_apsrc2(&self) -> u8
PMOS compensation code for the VDDIO power rails This bitfield is written by software to define an I/O compensation cell code for PMOS transistors of the VDDIO power rail. This code is applied to the I/O when CS2 is set in SBS_CCSR.
pub fn set_sw_apsrc2(&mut self, val: u8)
pub fn set_sw_apsrc2(&mut self, val: u8)
PMOS compensation code for the VDDIO power rails This bitfield is written by software to define an I/O compensation cell code for PMOS transistors of the VDDIO power rail. This code is applied to the I/O when CS2 is set in SBS_CCSR.