Struct stm32_metapac::syscfg::regs::Cfgr1
#[repr(transparent)]pub struct Cfgr1(pub u32);
Expand description
configuration register 1
Tuple Fields§
§0: u32
Implementations§
§impl Cfgr1
impl Cfgr1
pub const fn boosten(&self) -> bool
pub const fn boosten(&self) -> bool
I/O analog switch voltage booster enable Access can be protected by GTZC_TZSC ADC4SEC. Note: Refer to Table�121 for setting.
pub fn set_boosten(&mut self, val: bool)
pub fn set_boosten(&mut self, val: bool)
I/O analog switch voltage booster enable Access can be protected by GTZC_TZSC ADC4SEC. Note: Refer to Table�121 for setting.
pub const fn anaswvdd(&self) -> bool
pub const fn anaswvdd(&self) -> bool
GPIO analog switch control voltage selection Access can be protected by GTZC_TZSC ADC4SEC. Note: Refer to Table�121 for setting.
pub fn set_anaswvdd(&mut self, val: bool)
pub fn set_anaswvdd(&mut self, val: bool)
GPIO analog switch control voltage selection Access can be protected by GTZC_TZSC ADC4SEC. Note: Refer to Table�121 for setting.
pub const fn pa6_fmp(&self) -> bool
pub const fn pa6_fmp(&self) -> bool
Fast-mode Plus drive capability activation on PA6 This bit can be read and written only with secure access if PA6 is secure in GPIOA. This bit enables the Fast-mode Plus drive mode for PA6 when PA6 is not used by I2C peripheral. This can be used to dive a LED for instance. Access can be protected by GPIOA SEC6.
pub fn set_pa6_fmp(&mut self, val: bool)
pub fn set_pa6_fmp(&mut self, val: bool)
Fast-mode Plus drive capability activation on PA6 This bit can be read and written only with secure access if PA6 is secure in GPIOA. This bit enables the Fast-mode Plus drive mode for PA6 when PA6 is not used by I2C peripheral. This can be used to dive a LED for instance. Access can be protected by GPIOA SEC6.
pub const fn pa7_fmp(&self) -> bool
pub const fn pa7_fmp(&self) -> bool
Fast-mode Plus drive capability activation on PA7 This bit can be read and written only with secure access if PA7 is secure in GPIOA. This bit enables the Fast-mode Plus drive mode for PA7 when PA7 is not used by I2C peripheral. This can be used to dive a LED for instance. Access can be protected by GPIOA SEC7.
pub fn set_pa7_fmp(&mut self, val: bool)
pub fn set_pa7_fmp(&mut self, val: bool)
Fast-mode Plus drive capability activation on PA7 This bit can be read and written only with secure access if PA7 is secure in GPIOA. This bit enables the Fast-mode Plus drive mode for PA7 when PA7 is not used by I2C peripheral. This can be used to dive a LED for instance. Access can be protected by GPIOA SEC7.
pub const fn pa15_fmp(&self) -> bool
pub const fn pa15_fmp(&self) -> bool
Fast-mode Plus drive capability activation on PA15 This bit can be read and written only with secure access if PA15 is secure in GPIOA. This bit enables the Fast-mode Plus drive mode for PA15 when PA15 is not used by I2C peripheral. This can be used to dive a LED for instance. Access can be protected by GPIOA SEC15.
pub fn set_pa15_fmp(&mut self, val: bool)
pub fn set_pa15_fmp(&mut self, val: bool)
Fast-mode Plus drive capability activation on PA15 This bit can be read and written only with secure access if PA15 is secure in GPIOA. This bit enables the Fast-mode Plus drive mode for PA15 when PA15 is not used by I2C peripheral. This can be used to dive a LED for instance. Access can be protected by GPIOA SEC15.
pub const fn pb3_fmp(&self) -> bool
pub const fn pb3_fmp(&self) -> bool
Fast-mode Plus drive capability activation on PB3 This bit can be read and written only with secure access if PB3 is secure in GPIOB. This bit enables the Fast-mode Plus drive mode for PB3 when PB3 is not used by I2C peripheral. This can be used to dive a LED for instance. Access can be protected by GPIOB SEC3.
pub fn set_pb3_fmp(&mut self, val: bool)
pub fn set_pb3_fmp(&mut self, val: bool)
Fast-mode Plus drive capability activation on PB3 This bit can be read and written only with secure access if PB3 is secure in GPIOB. This bit enables the Fast-mode Plus drive mode for PB3 when PB3 is not used by I2C peripheral. This can be used to dive a LED for instance. Access can be protected by GPIOB SEC3.