Struct Apb2lpenr
#[repr(transparent)]pub struct Apb2lpenr(pub u32);Expand description
RCC APB2 low-power clock enable register.
Tuple Fields§
§0: u32Implementations§
§impl Apb2lpenr
impl Apb2lpenr
pub const fn set_tim1lpen(&mut self, val: bool)
pub const fn set_tim1lpen(&mut self, val: bool)
TIM1 peripheral clock enable in low-power mode.
pub const fn set_tim8lpen(&mut self, val: bool)
pub const fn set_tim8lpen(&mut self, val: bool)
TIM8 peripheral clock enable in low-power mode.
pub const fn set_tim20lpen(&mut self, val: bool)
pub const fn set_tim20lpen(&mut self, val: bool)
TIM20 peripheral clock enable in low-power mode.
pub const fn usart1lpen(&self) -> bool
pub const fn usart1lpen(&self) -> bool
USART1 peripheral clock enable in low-power mode.
pub const fn set_usart1lpen(&mut self, val: bool)
pub const fn set_usart1lpen(&mut self, val: bool)
USART1 peripheral clock enable in low-power mode.
pub const fn usart6lpen(&self) -> bool
pub const fn usart6lpen(&self) -> bool
USART6 peripheral clock enable in low-power mode.
pub const fn set_usart6lpen(&mut self, val: bool)
pub const fn set_usart6lpen(&mut self, val: bool)
USART6 peripheral clock enable in low-power mode.
pub const fn usart9lpen(&self) -> bool
pub const fn usart9lpen(&self) -> bool
USART9 peripheral clock enable in low-power mode.
pub const fn set_usart9lpen(&mut self, val: bool)
pub const fn set_usart9lpen(&mut self, val: bool)
USART9 peripheral clock enable in low-power mode.
pub const fn usart10lpen(&self) -> bool
pub const fn usart10lpen(&self) -> bool
USART10 peripheral clock enable in low-power mode.
pub const fn set_usart10lpen(&mut self, val: bool)
pub const fn set_usart10lpen(&mut self, val: bool)
USART10 peripheral clock enable in low-power mode.
pub const fn set_spi1lpen(&mut self, val: bool)
pub const fn set_spi1lpen(&mut self, val: bool)
SPI2S1 peripheral clock enable in low-power mode.
pub const fn set_spi4lpen(&mut self, val: bool)
pub const fn set_spi4lpen(&mut self, val: bool)
SPI4 peripheral clock enable in low-power mode.
pub const fn set_tim15lpen(&mut self, val: bool)
pub const fn set_tim15lpen(&mut self, val: bool)
TIM15 peripheral clock enable in low-power mode.
pub const fn set_tim16lpen(&mut self, val: bool)
pub const fn set_tim16lpen(&mut self, val: bool)
TIM16 peripheral clock enable in low-power mode.
pub const fn set_tim17lpen(&mut self, val: bool)
pub const fn set_tim17lpen(&mut self, val: bool)
TIM17 peripheral clock enable in low-power mode.
pub const fn set_tim9lpen(&mut self, val: bool)
pub const fn set_tim9lpen(&mut self, val: bool)
TIM9 peripheral clock enable in low-power mode.
pub const fn set_spi5lpen(&mut self, val: bool)
pub const fn set_spi5lpen(&mut self, val: bool)
SPI5 peripheral clocks enable in low-power mode.
pub const fn hrtim1lpen(&self) -> bool
pub const fn hrtim1lpen(&self) -> bool
HRTIM1 peripheral clock enable in low-power mode.
pub const fn set_hrtim1lpen(&mut self, val: bool)
pub const fn set_hrtim1lpen(&mut self, val: bool)
HRTIM1 peripheral clock enable in low-power mode.
pub const fn hrtim2lpen(&self) -> bool
pub const fn hrtim2lpen(&self) -> bool
HRTIM2 peripheral clock enable in low-power mode.
pub const fn set_hrtim2lpen(&mut self, val: bool)
pub const fn set_hrtim2lpen(&mut self, val: bool)
HRTIM2 peripheral clock enable in low-power mode.