pub struct R(_);
Expand description
Register AFSEL0
reader
Implementations
sourceimpl R
impl R
sourcepub fn sel7(&self) -> FieldReaderRaw<u8, SEL0_A>
pub fn sel7(&self) -> FieldReaderRaw<u8, SEL0_A>
Bits 28:31 - Pin 7 alternate function selected
sourcepub fn sel6(&self) -> FieldReaderRaw<u8, SEL0_A>
pub fn sel6(&self) -> FieldReaderRaw<u8, SEL0_A>
Bits 24:27 - Pin 6 alternate function selected
sourcepub fn sel5(&self) -> FieldReaderRaw<u8, SEL0_A>
pub fn sel5(&self) -> FieldReaderRaw<u8, SEL0_A>
Bits 20:23 - Pin 5 alternate function selected
sourcepub fn sel4(&self) -> FieldReaderRaw<u8, SEL0_A>
pub fn sel4(&self) -> FieldReaderRaw<u8, SEL0_A>
Bits 16:19 - Pin 4 alternate function selected
Methods from Deref<Target = R<AFSEL0_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<AFSEL0_SPEC>> for R
impl From<R<AFSEL0_SPEC>> for R
sourcefn from(reader: R<AFSEL0_SPEC>) -> R
fn from(reader: R<AFSEL0_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more