[][src]Struct bl602_pac::glb::gpio_cfgctl2::R

pub struct R(_);

Register GPIO_CFGCTL2 reader

Implementations

impl R[src]

pub fn real_gpio_5_func_sel(&self) -> REAL_GPIO_5_FUNC_SEL_R[src]

Bits 28:31

pub fn reg_gpio_5_func_sel(&self) -> REG_GPIO_5_FUNC_SEL_R[src]

Bits 24:27

pub fn reg_gpio_5_pd(&self) -> REG_GPIO_5_PD_R[src]

Bit 21

pub fn reg_gpio_5_pu(&self) -> REG_GPIO_5_PU_R[src]

Bit 20

pub fn reg_gpio_5_drv(&self) -> REG_GPIO_5_DRV_R[src]

Bits 18:19

pub fn reg_gpio_5_smt(&self) -> REG_GPIO_5_SMT_R[src]

Bit 17

pub fn reg_gpio_5_ie(&self) -> REG_GPIO_5_IE_R[src]

Bit 16

pub fn real_gpio_4_func_sel(&self) -> REAL_GPIO_4_FUNC_SEL_R[src]

Bits 12:15

pub fn reg_gpio_4_func_sel(&self) -> REG_GPIO_4_FUNC_SEL_R[src]

Bits 8:11

pub fn reg_gpio_4_pd(&self) -> REG_GPIO_4_PD_R[src]

Bit 5

pub fn reg_gpio_4_pu(&self) -> REG_GPIO_4_PU_R[src]

Bit 4

pub fn reg_gpio_4_drv(&self) -> REG_GPIO_4_DRV_R[src]

Bits 2:3

pub fn reg_gpio_4_smt(&self) -> REG_GPIO_4_SMT_R[src]

Bit 1

pub fn reg_gpio_4_ie(&self) -> REG_GPIO_4_IE_R[src]

Bit 0

Methods from Deref<Target = R<GPIO_CFGCTL2_SPEC>>

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

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<GPIO_CFGCTL2_SPEC>

The resulting type after dereferencing.

impl From<R<GPIO_CFGCTL2_SPEC>> for R[src]

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.