[−][src]Struct stm32g0::stm32g0x0::rcc::apbenr1::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn tim2en(&mut self) -> _TIM2ENW
[src]
Bit 0 - TIM2 timer clock enable
pub fn tim3en(&mut self) -> _TIM3ENW
[src]
Bit 1 - TIM3 timer clock enable
pub fn tim6en(&mut self) -> _TIM6ENW
[src]
Bit 4 - TIM6 timer clock enable
pub fn tim7en(&mut self) -> _TIM7ENW
[src]
Bit 5 - TIM7 timer clock enable
pub fn rtcapben(&mut self) -> _RTCAPBENW
[src]
Bit 10 - RTC APB clock enable
pub fn wwdgen(&mut self) -> _WWDGENW
[src]
Bit 11 - WWDG clock enable
pub fn spi2en(&mut self) -> _SPI2ENW
[src]
Bit 14 - SPI2 clock enable
pub fn usart2en(&mut self) -> _USART2ENW
[src]
Bit 17 - USART2 clock enable
pub fn usart3en(&mut self) -> _USART3ENW
[src]
Bit 18 - USART3 clock enable
pub fn usart4en(&mut self) -> _USART4ENW
[src]
Bit 19 - USART4 clock enable
pub fn lpuart1en(&mut self) -> _LPUART1ENW
[src]
Bit 20 - LPUART1 clock enable
pub fn i2c1en(&mut self) -> _I2C1ENW
[src]
Bit 21 - I2C1 clock enable
pub fn i2c2en(&mut self) -> _I2C2ENW
[src]
Bit 22 - I2C2 clock enable
pub fn cecen(&mut self) -> _CECENW
[src]
Bit 24 - HDMI CEC clock enable
pub fn ucpd1en(&mut self) -> _UCPD1ENW
[src]
Bit 25 - UCPD1 clock enable
pub fn ucpd2en(&mut self) -> _UCPD2ENW
[src]
Bit 26 - UCPD2 clock enable
pub fn dbgen(&mut self) -> _DBGENW
[src]
Bit 27 - Debug support clock enable
pub fn pwren(&mut self) -> _PWRENW
[src]
Bit 28 - Power interface clock enable
pub fn dac1en(&mut self) -> _DAC1ENW
[src]
Bit 29 - DAC1 interface clock enable
pub fn lptim2en(&mut self) -> _LPTIM2ENW
[src]
Bit 30 - LPTIM2 clock enable
pub fn lptim1en(&mut self) -> _LPTIM1ENW
[src]
Bit 31 - LPTIM1 clock enable
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self