[−][src]Struct gd32vf103_pac::rcu::apb1en::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn timer1en(&self) -> TIMER1ENR
[src]
Bit 0 - TIMER1 timer clock enable
pub fn timer2en(&self) -> TIMER2ENR
[src]
Bit 1 - TIMER2 timer clock enable
pub fn timer3en(&self) -> TIMER3ENR
[src]
Bit 2 - TIMER3 timer clock enable
pub fn timer4en(&self) -> TIMER4ENR
[src]
Bit 3 - TIMER4 timer clock enable
pub fn timer5en(&self) -> TIMER5ENR
[src]
Bit 4 - TIMER5 timer clock enable
pub fn timer6en(&self) -> TIMER6ENR
[src]
Bit 5 - TIMER6 timer clock enable
pub fn wwdgten(&self) -> WWDGTENR
[src]
Bit 11 - Window watchdog timer clock enable
pub fn spi1en(&self) -> SPI1ENR
[src]
Bit 14 - SPI1 clock enable
pub fn spi2en(&self) -> SPI2ENR
[src]
Bit 15 - SPI2 clock enable
pub fn usart1en(&self) -> USART1ENR
[src]
Bit 17 - USART1 clock enable
pub fn usart2en(&self) -> USART2ENR
[src]
Bit 18 - USART2 clock enable
pub fn uart3en(&self) -> UART3ENR
[src]
Bit 19 - UART3 clock enable
pub fn uart4en(&self) -> UART4ENR
[src]
Bit 20 - UART4 clock enable
pub fn i2c0en(&self) -> I2C0ENR
[src]
Bit 21 - I2C0 clock enable
pub fn i2c1en(&self) -> I2C1ENR
[src]
Bit 22 - I2C1 clock enable
pub fn can0en(&self) -> CAN0ENR
[src]
Bit 25 - CAN0 clock enable
pub fn can1en(&self) -> CAN1ENR
[src]
Bit 26 - CAN1 clock enable
pub fn bkpien(&self) -> BKPIENR
[src]
Bit 27 - Backup interface clock enable
pub fn pmuen(&self) -> PMUENR
[src]
Bit 28 - Power control clock enable
pub fn dacen(&self) -> DACENR
[src]
Bit 29 - DAC clock enable
Auto Trait Implementations
Blanket Implementations
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> From<T> for T
[src]
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,