Struct Apb1slpenr1
#[repr(transparent)]pub struct Apb1slpenr1(pub u32);Expand description
RCC APB1 peripheral clock enable in Sleep mode register 1.
Tuple Fields§
§0: u32Implementations§
§impl Apb1slpenr1
impl Apb1slpenr1
pub fn set_tim2slpen(&mut self, val: bool)
pub fn set_tim2slpen(&mut self, val: bool)
TIMj clock enable during Sleep mode.
pub fn set_tim3slpen(&mut self, val: bool)
pub fn set_tim3slpen(&mut self, val: bool)
TIMj clock enable during Sleep mode.
pub fn set_tim4slpen(&mut self, val: bool)
pub fn set_tim4slpen(&mut self, val: bool)
TIMj clock enable during Sleep mode.
pub fn set_tim6slpen(&mut self, val: bool)
pub fn set_tim6slpen(&mut self, val: bool)
TIMj clock enable during Sleep mode.
pub fn set_tim7slpen(&mut self, val: bool)
pub fn set_tim7slpen(&mut self, val: bool)
TIMj clock enable during Sleep mode.
pub fn set_spi3slpen(&mut self, val: bool)
pub fn set_spi3slpen(&mut self, val: bool)
SPI3 clock enable during Sleep mode.
pub fn set_wwdgslpen(&mut self, val: bool)
pub fn set_wwdgslpen(&mut self, val: bool)
WWDG clock enable during Sleep mode.
pub fn set_spi2slpen(&mut self, val: bool)
pub fn set_spi2slpen(&mut self, val: bool)
SPI2 clock enable during Sleep mode.
pub const fn usart3slpen(&self) -> bool
pub const fn usart3slpen(&self) -> bool
USART3 clock enable during Sleep mode.
pub fn set_usart3slpen(&mut self, val: bool)
pub fn set_usart3slpen(&mut self, val: bool)
USART3 clock enable during Sleep mode.
pub const fn uart4slpen(&self) -> bool
pub const fn uart4slpen(&self) -> bool
UART4 clock enable during Sleep mode.
pub fn set_uart4slpen(&mut self, val: bool)
pub fn set_uart4slpen(&mut self, val: bool)
UART4 clock enable during Sleep mode.
pub const fn uart5slpen(&self) -> bool
pub const fn uart5slpen(&self) -> bool
UART5 clock enable during Sleep mode.
pub fn set_uart5slpen(&mut self, val: bool)
pub fn set_uart5slpen(&mut self, val: bool)
UART5 clock enable during Sleep mode.
pub fn set_i2c1slpen(&mut self, val: bool)
pub fn set_i2c1slpen(&mut self, val: bool)
I2C1 clock enable during Sleep mode.
pub fn set_i2c2slpen(&mut self, val: bool)
pub fn set_i2c2slpen(&mut self, val: bool)
I2C2 clock enable during Sleep mode.
pub fn set_i3c1slpen(&mut self, val: bool)
pub fn set_i3c1slpen(&mut self, val: bool)
I3C1 clock enable during Sleep mode.
pub fn set_crsslpen(&mut self, val: bool)
pub fn set_crsslpen(&mut self, val: bool)
CRS clock enable during Sleep mode.
pub const fn opampslpen(&self) -> bool
pub const fn opampslpen(&self) -> bool
OPAMP clock enable during Sleep mode.
pub fn set_opampslpen(&mut self, val: bool)
pub fn set_opampslpen(&mut self, val: bool)
OPAMP clock enable during Sleep mode.
pub fn set_vrefslpen(&mut self, val: bool)
pub fn set_vrefslpen(&mut self, val: bool)
VREFBUF clock enable during Sleep mode.
pub const fn rtcapbslpen(&self) -> bool
pub const fn rtcapbslpen(&self) -> bool
RTC and TAMP APB clock enable during Sleep mode.
pub fn set_rtcapbslpen(&mut self, val: bool)
pub fn set_rtcapbslpen(&mut self, val: bool)
RTC and TAMP APB clock enable during Sleep mode.
Trait Implementations§
§impl Clone for Apb1slpenr1
impl Clone for Apb1slpenr1
§fn clone(&self) -> Apb1slpenr1
fn clone(&self) -> Apb1slpenr1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more