Struct stm32_metapac::rcc::regs::Srdamr
#[repr(transparent)]pub struct Srdamr(pub u32);
Expand description
RCC SmartRun domain peripheral autonomous mode register
Tuple Fields§
§0: u32
Implementations§
§impl Srdamr
impl Srdamr
pub const fn spi3amen(&self) -> bool
pub const fn spi3amen(&self) -> bool
SPI3 autonomous mode enable in Stop 0,1, 2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_spi3amen(&mut self, val: bool)
pub fn set_spi3amen(&mut self, val: bool)
SPI3 autonomous mode enable in Stop 0,1, 2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn lpuart1amen(&self) -> bool
pub const fn lpuart1amen(&self) -> bool
LPUART1 autonomous mode enable in Stop 0,1, 2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_lpuart1amen(&mut self, val: bool)
pub fn set_lpuart1amen(&mut self, val: bool)
LPUART1 autonomous mode enable in Stop 0,1, 2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn i2c3amen(&self) -> bool
pub const fn i2c3amen(&self) -> bool
I2C3 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_i2c3amen(&mut self, val: bool)
pub fn set_i2c3amen(&mut self, val: bool)
I2C3 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn lptim1amen(&self) -> bool
pub const fn lptim1amen(&self) -> bool
LPTIM1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_lptim1amen(&mut self, val: bool)
pub fn set_lptim1amen(&mut self, val: bool)
LPTIM1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn lptim3amen(&self) -> bool
pub const fn lptim3amen(&self) -> bool
LPTIM3 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_lptim3amen(&mut self, val: bool)
pub fn set_lptim3amen(&mut self, val: bool)
LPTIM3 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn lptim4amen(&self) -> bool
pub const fn lptim4amen(&self) -> bool
LPTIM4 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_lptim4amen(&mut self, val: bool)
pub fn set_lptim4amen(&mut self, val: bool)
LPTIM4 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn opampamen(&self) -> bool
pub const fn opampamen(&self) -> bool
OPAMP autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.
pub fn set_opampamen(&mut self, val: bool)
pub fn set_opampamen(&mut self, val: bool)
OPAMP autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.
pub const fn compamen(&self) -> bool
pub const fn compamen(&self) -> bool
COMP autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.
pub fn set_compamen(&mut self, val: bool)
pub fn set_compamen(&mut self, val: bool)
COMP autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.
pub const fn vrefamen(&self) -> bool
pub const fn vrefamen(&self) -> bool
VREFBUF autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.
pub fn set_vrefamen(&mut self, val: bool)
pub fn set_vrefamen(&mut self, val: bool)
VREFBUF autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.
pub const fn rtcapbamen(&self) -> bool
pub const fn rtcapbamen(&self) -> bool
RTC and TAMP autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_rtcapbamen(&mut self, val: bool)
pub fn set_rtcapbamen(&mut self, val: bool)
RTC and TAMP autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn adc4amen(&self) -> bool
pub const fn adc4amen(&self) -> bool
ADC4 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_adc4amen(&mut self, val: bool)
pub fn set_adc4amen(&mut self, val: bool)
ADC4 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn lpgpio1amen(&self) -> bool
pub const fn lpgpio1amen(&self) -> bool
LPGPIO1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.
pub fn set_lpgpio1amen(&mut self, val: bool)
pub fn set_lpgpio1amen(&mut self, val: bool)
LPGPIO1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.
pub const fn dac1amen(&self) -> bool
pub const fn dac1amen(&self) -> bool
DAC1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_dac1amen(&mut self, val: bool)
pub fn set_dac1amen(&mut self, val: bool)
DAC1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn lpdma1amen(&self) -> bool
pub const fn lpdma1amen(&self) -> bool
LPDMA1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_lpdma1amen(&mut self, val: bool)
pub fn set_lpdma1amen(&mut self, val: bool)
LPDMA1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn adf1amen(&self) -> bool
pub const fn adf1amen(&self) -> bool
ADF1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_adf1amen(&mut self, val: bool)
pub fn set_adf1amen(&mut self, val: bool)
ADF1 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn sram4amen(&self) -> bool
pub const fn sram4amen(&self) -> bool
SRAM4 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.
pub fn set_sram4amen(&mut self, val: bool)
pub fn set_sram4amen(&mut self, val: bool)
SRAM4 autonomous mode enable in Stop 0,1,2 mode Set and cleared by software.