[−][src]Struct stm32g0::stm32g0x1::gpioa::afrl::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 afsel7(&self) -> AFSEL7R
[src]
Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)
pub fn afsel6(&self) -> AFSEL6R
[src]
Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)
pub fn afsel5(&self) -> AFSEL5R
[src]
Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)
pub fn afsel4(&self) -> AFSEL4R
[src]
Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)
pub fn afsel3(&self) -> AFSEL3R
[src]
Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)
pub fn afsel2(&self) -> AFSEL2R
[src]
Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)
pub fn afsel1(&self) -> AFSEL1R
[src]
Bits 4:7 - Alternate function selection for port x bit y (y = 0..7)
pub fn afsel0(&self) -> AFSEL0R
[src]
Bits 0:3 - Alternate function selection for port x bit y (y = 0..7)
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,
impl<T> Same<T> for T
type Output = T
Should always be Self