[−]Struct nucleo_f042k6::stm32::rcc::apb1enr::W
Value to write to the register
Methods
impl W
impl W
pub fn reset_value() -> W |
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut W |
Writes raw bits to the register
pub fn tim2en(&mut self) -> _TIM2ENW |
Bit 0 - Timer 2 clock enable
pub fn tim3en(&mut self) -> _TIM3ENW |
Bit 1 - Timer 3 clock enable
pub fn tim6en(&mut self) -> _TIM6ENW |
Bit 4 - Timer 6 clock enable
pub fn tim7en(&mut self) -> _TIM7ENW |
Bit 5 - TIM7 timer clock enable
pub fn tim14en(&mut self) -> _TIM14ENW |
Bit 8 - Timer 14 clock enable
pub fn wwdgen(&mut self) -> _WWDGENW |
Bit 11 - Window watchdog clock enable
pub fn spi2en(&mut self) -> _SPI2ENW |
Bit 14 - SPI 2 clock enable
pub fn usart2en(&mut self) -> _USART2ENW |
Bit 17 - USART 2 clock enable
pub fn usart3en(&mut self) -> _USART3ENW |
Bit 18 - USART3 clock enable
pub fn usart4en(&mut self) -> _USART4ENW |
Bit 19 - USART4 clock enable
pub fn i2c1en(&mut self) -> _I2C1ENW |
Bit 21 - I2C 1 clock enable
pub fn i2c2en(&mut self) -> _I2C2ENW |
Bit 22 - I2C 2 clock enable
pub fn usben(&mut self) -> _USBENW |
Bit 23 - USB interface clock enable
pub fn canen(&mut self) -> _CANENW |
Bit 25 - CAN interface clock enable
pub fn crsen(&mut self) -> _CRSENW |
Bit 27 - Clock Recovery System interface clock enable
pub fn pwren(&mut self) -> _PWRENW |
Bit 28 - Power interface clock enable
pub fn dacen(&mut self) -> _DACENW |
Bit 29 - DAC interface clock enable
pub fn cecen(&mut self) -> _CECENW |
Bit 30 - HDMI CEC interface clock enable
pub fn usart5en(&mut self) -> _USART5ENW |
Bit 20 - USART5 clock enable
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)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> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |