pub struct R(_);
Expand description

Register AFIO_GPACFGR reader

Implementations§

source§

impl R

source

pub fn pacfg0(&self) -> PACFG0_R

Bits 0:1 - PACFG0

source

pub fn pacfg1(&self) -> PACFG1_R

Bits 2:3 - PACFG1

source

pub fn pacfg2(&self) -> PACFG2_R

Bits 4:5 - PACFG2

source

pub fn pacfg3(&self) -> PACFG3_R

Bits 6:7 - PACFG3

source

pub fn pacfg4(&self) -> PACFG4_R

Bits 8:9 - PACFG4

source

pub fn pacfg5(&self) -> PACFG5_R

Bits 10:11 - PACFG5

source

pub fn pacfg6(&self) -> PACFG6_R

Bits 12:13 - PACFG6

source

pub fn pacfg7(&self) -> PACFG7_R

Bits 14:15 - PACFG7

source

pub fn pacfg8(&self) -> PACFG8_R

Bits 16:17 - PACFG8

source

pub fn pacfg9(&self) -> PACFG9_R

Bits 18:19 - PACFG9

source

pub fn pacfg10(&self) -> PACFG10_R

Bits 20:21 - PACFG10

source

pub fn pacfg11(&self) -> PACFG11_R

Bits 22:23 - PACFG11

source

pub fn pacfg12(&self) -> PACFG12_R

Bits 24:25 - PACFG12

source

pub fn pacfg13(&self) -> PACFG13_R

Bits 26:27 - PACFG13

source

pub fn pacfg14(&self) -> PACFG14_R

Bits 28:29 - PACFG14

source

pub fn pacfg15(&self) -> PACFG15_R

Bits 30:31 - PACFG15

Methods from Deref<Target = R<AFIO_GPACFGR_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<AFIO_GPACFGR_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<AFIO_GPACFGR_SPEC>> for R

source§

fn from(reader: R<AFIO_GPACFGR_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.