Struct 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.
pub const fn pcc1(&self) -> u8
pub const fn pcc1(&self) -> u8
PMOS compensation code of the I/Os supplied by VDD These bits are written by software to define 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 set.
pub fn set_pcc1(&mut self, val: u8)
pub fn set_pcc1(&mut self, val: u8)
PMOS compensation code of the I/Os supplied by VDD These bits are written by software to define 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 set.
pub const fn ncc2(&self) -> u8
pub const fn ncc2(&self) -> u8
NMOS compensation code of the I/Os supplied by VDDIO2 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 CS2 bit of the CCCSR is set.
pub fn set_ncc2(&mut self, val: u8)
pub fn set_ncc2(&mut self, val: u8)
NMOS compensation code of the I/Os supplied by VDDIO2 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 CS2 bit of the CCCSR is set.