Struct gd32vf103_pac::gpioa::ctl1::R

source ·
pub struct R(_);
Expand description

Register CTL1 reader

Implementations§

source§

impl R

source

pub fn md8(&self) -> MD8_R

Bits 0:1 - Port x mode bits (x = 8)

source

pub fn ctl8(&self) -> CTL8_R

Bits 2:3 - Port x configuration bits (x = 8)

source

pub fn md9(&self) -> MD9_R

Bits 4:5 - Port x mode bits (x = 9)

source

pub fn ctl9(&self) -> CTL9_R

Bits 6:7 - Port x configuration bits (x = 9)

source

pub fn md10(&self) -> MD10_R

Bits 8:9 - Port x mode bits (x = 10 )

source

pub fn ctl10(&self) -> CTL10_R

Bits 10:11 - Port x configuration bits (x = 10)

source

pub fn md11(&self) -> MD11_R

Bits 12:13 - Port x mode bits (x = 11 )

source

pub fn ctl11(&self) -> CTL11_R

Bits 14:15 - Port x configuration bits (x = 11)

source

pub fn md12(&self) -> MD12_R

Bits 16:17 - Port x mode bits (x = 12)

source

pub fn ctl12(&self) -> CTL12_R

Bits 18:19 - Port x configuration bits (x = 12)

source

pub fn md13(&self) -> MD13_R

Bits 20:21 - Port x mode bits (x = 13)

source

pub fn ctl13(&self) -> CTL13_R

Bits 22:23 - Port x configuration bits (x = 13)

source

pub fn md14(&self) -> MD14_R

Bits 24:25 - Port x mode bits (x = 14)

source

pub fn ctl14(&self) -> CTL14_R

Bits 26:27 - Port x configuration bits (x = 14)

source

pub fn md15(&self) -> MD15_R

Bits 28:29 - Port x mode bits (x = 15)

source

pub fn ctl15(&self) -> CTL15_R

Bits 30:31 - Port x configuration bits (x = 15)

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<CTL1_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<CTL1_SPEC>> for R

source§

fn from(reader: R<CTL1_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.