[−][src]Struct gd32vf103_pac::rcu::apb2en::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 afen(&mut self) -> _AFENW
[src]
Bit 0 - Alternate function IO clock enable
pub fn paen(&mut self) -> _PAENW
[src]
Bit 2 - GPIO port A clock enable
pub fn pben(&mut self) -> _PBENW
[src]
Bit 3 - GPIO port B clock enable
pub fn pcen(&mut self) -> _PCENW
[src]
Bit 4 - GPIO port C clock enable
pub fn pden(&mut self) -> _PDENW
[src]
Bit 5 - GPIO port D clock enable
pub fn peen(&mut self) -> _PEENW
[src]
Bit 6 - GPIO port E clock enable
pub fn adc0en(&mut self) -> _ADC0ENW
[src]
Bit 9 - ADC0 clock enable
pub fn adc1en(&mut self) -> _ADC1ENW
[src]
Bit 10 - ADC1 clock enable
pub fn timer0en(&mut self) -> _TIMER0ENW
[src]
Bit 11 - TIMER0 clock enable
pub fn spi0en(&mut self) -> _SPI0ENW
[src]
Bit 12 - SPI0 clock enable
pub fn usart0en(&mut self) -> _USART0ENW
[src]
Bit 14 - USART0 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,