[][src]Struct bl602_pac::glb::gpio_cfgctl1::W

pub struct W(_);

Register GPIO_CFGCTL1 writer

Implementations

impl W[src]

pub fn real_gpio_3_func_sel(&mut self) -> REAL_GPIO_3_FUNC_SEL_W[src]

Bits 28:31

pub fn reg_gpio_3_func_sel(&mut self) -> REG_GPIO_3_FUNC_SEL_W[src]

Bits 24:27

pub fn reg_gpio_3_pd(&mut self) -> REG_GPIO_3_PD_W[src]

Bit 21

pub fn reg_gpio_3_pu(&mut self) -> REG_GPIO_3_PU_W[src]

Bit 20

pub fn reg_gpio_3_drv(&mut self) -> REG_GPIO_3_DRV_W[src]

Bits 18:19

pub fn reg_gpio_3_smt(&mut self) -> REG_GPIO_3_SMT_W[src]

Bit 17

pub fn reg_gpio_3_ie(&mut self) -> REG_GPIO_3_IE_W[src]

Bit 16

pub fn real_gpio_2_func_sel(&mut self) -> REAL_GPIO_2_FUNC_SEL_W[src]

Bits 12:15

pub fn reg_gpio_2_func_sel(&mut self) -> REG_GPIO_2_FUNC_SEL_W[src]

Bits 8:11

pub fn reg_gpio_2_pd(&mut self) -> REG_GPIO_2_PD_W[src]

Bit 5

pub fn reg_gpio_2_pu(&mut self) -> REG_GPIO_2_PU_W[src]

Bit 4

pub fn reg_gpio_2_drv(&mut self) -> REG_GPIO_2_DRV_W[src]

Bits 2:3

pub fn reg_gpio_2_smt(&mut self) -> REG_GPIO_2_SMT_W[src]

Bit 1

pub fn reg_gpio_2_ie(&mut self) -> REG_GPIO_2_IE_W[src]

Bit 0

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<GPIO_CFGCTL1_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<GPIO_CFGCTL1_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<GPIO_CFGCTL1_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

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.