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.
Trait Implementations§
impl Copy for Ccswcr
impl Eq for Ccswcr
impl StructuralPartialEq for Ccswcr
Auto Trait Implementations§
impl Freeze for Ccswcr
impl RefUnwindSafe for Ccswcr
impl Send for Ccswcr
impl Sync for Ccswcr
impl Unpin for Ccswcr
impl UnwindSafe for Ccswcr
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
)