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 fn set_spi3stpen(&mut self, val: bool)
pub fn set_spi3stpen(&mut self, val: bool)
SPI3 clock enable during Stop mode.
pub fn set_spi2stpen(&mut self, val: bool)
pub fn set_spi2stpen(&mut self, val: bool)
SPI2 clock enable during Stop mode.
pub const fn usart3stpen(&self) -> bool
pub const fn usart3stpen(&self) -> bool
USART3 clock enable during Stop mode.
pub fn set_usart3stpen(&mut self, val: bool)
pub 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 fn set_uart4stpen(&mut self, val: bool)
pub 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 fn set_uart5stpen(&mut self, val: bool)
pub fn set_uart5stpen(&mut self, val: bool)
UART5 clock enable during Stop mode.
pub fn set_i2c1stpen(&mut self, val: bool)
pub fn set_i2c1stpen(&mut self, val: bool)
I2C1 clock enable during Stop mode.
pub fn set_i2c2stpen(&mut self, val: bool)
pub fn set_i2c2stpen(&mut self, val: bool)
I2C2 clock enable during Stop mode.
pub fn set_i3c1stpen(&mut self, val: bool)
pub 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 fn set_opampstpen(&mut self, val: bool)
pub fn set_opampstpen(&mut self, val: bool)
OPAMP clock enable during Stop mode.
pub fn set_vrefstpen(&mut self, val: bool)
pub 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 fn set_rtcapbstpen(&mut self, val: bool)
pub 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
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for Apb1stpenr1
impl Debug for Apb1stpenr1
§impl Default for Apb1stpenr1
impl Default for Apb1stpenr1
§fn default() -> Apb1stpenr1
fn default() -> Apb1stpenr1
Returns the “default value” for a type. Read more
§impl PartialEq for Apb1stpenr1
impl PartialEq for Apb1stpenr1
impl Copy for Apb1stpenr1
impl Eq for Apb1stpenr1
impl StructuralPartialEq for Apb1stpenr1
Auto Trait Implementations§
impl Freeze for Apb1stpenr1
impl RefUnwindSafe for Apb1stpenr1
impl Send for Apb1stpenr1
impl Sync for Apb1stpenr1
impl Unpin for Apb1stpenr1
impl UnwindSafe for Apb1stpenr1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more