Struct Apb1stpenr1
#[repr(transparent)]pub struct Apb1stpenr1(pub u32);Expand description
RCC APB1 peripheral clock enable in Stop mode register 1.
Tuple Fields§
§0: u32Implementations§
§impl Apb1stpenr1
impl Apb1stpenr1
pub const fn set_spi3stpen(&mut self, val: bool)
pub const fn set_spi3stpen(&mut self, val: bool)
SPI3 clock enable during Stop mode.
pub const fn spi4stpen(&self) -> bool
pub const fn spi4stpen(&self) -> bool
SPI4 clock enable during Stop mode. Only available on STM32U3B5/3C5.
pub const fn set_spi4stpen(&mut self, val: bool)
pub const fn set_spi4stpen(&mut self, val: bool)
SPI4 clock enable during Stop mode. Only available on STM32U3B5/3C5.
pub const fn set_spi2stpen(&mut self, val: bool)
pub const fn set_spi2stpen(&mut self, val: bool)
SPI2 clock enable during Stop mode.
pub const fn usart2stpen(&self) -> bool
pub const fn usart2stpen(&self) -> bool
USART2 clock enable during Stop mode. Only available on STM32U3B5/3C5.
pub const fn set_usart2stpen(&mut self, val: bool)
pub const fn set_usart2stpen(&mut self, val: bool)
USART2 clock enable during Stop mode. Only available on STM32U3B5/3C5.
pub const fn usart3stpen(&self) -> bool
pub const fn usart3stpen(&self) -> bool
USART3 clock enable during Stop mode.
pub const fn set_usart3stpen(&mut self, val: bool)
pub const fn set_usart3stpen(&mut self, val: bool)
USART3 clock enable during Stop mode.
pub const fn uart4stpen(&self) -> bool
pub const fn uart4stpen(&self) -> bool
UART4 clock enable during Stop mode.
pub const fn set_uart4stpen(&mut self, val: bool)
pub const fn set_uart4stpen(&mut self, val: bool)
UART4 clock enable during Stop mode.
pub const fn uart5stpen(&self) -> bool
pub const fn uart5stpen(&self) -> bool
UART5 clock enable during Stop mode.
pub const fn set_uart5stpen(&mut self, val: bool)
pub const fn set_uart5stpen(&mut self, val: bool)
UART5 clock enable during Stop mode.
pub const fn set_i2c1stpen(&mut self, val: bool)
pub const fn set_i2c1stpen(&mut self, val: bool)
I2C1 clock enable during Stop mode.
pub const fn set_i2c2stpen(&mut self, val: bool)
pub const fn set_i2c2stpen(&mut self, val: bool)
I2C2 clock enable during Stop mode.
pub const fn set_i3c1stpen(&mut self, val: bool)
pub const fn set_i3c1stpen(&mut self, val: bool)
I3C1 clock enable during Stop mode.
pub const fn opampstpen(&self) -> bool
pub const fn opampstpen(&self) -> bool
OPAMP clock enable during Stop mode.
pub const fn set_opampstpen(&mut self, val: bool)
pub const fn set_opampstpen(&mut self, val: bool)
OPAMP clock enable during Stop mode.
pub const fn set_vrefstpen(&mut self, val: bool)
pub const fn set_vrefstpen(&mut self, val: bool)
VREFBUF clock enable during Stop mode.
pub const fn rtcapbstpen(&self) -> bool
pub const fn rtcapbstpen(&self) -> bool
RTC and TAMP APB clock enable during Stop mode.
pub const fn set_rtcapbstpen(&mut self, val: bool)
pub const fn set_rtcapbstpen(&mut self, val: bool)
RTC and TAMP APB clock enable during Stop mode.
Trait Implementations§
§impl Clone for Apb1stpenr1
impl Clone for Apb1stpenr1
§fn clone(&self) -> Apb1stpenr1
fn clone(&self) -> Apb1stpenr1
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more