Type Alias W

Source
pub type W = W<PAD3_SPEC>;
Expand description

Register PAD3 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn reg_pad3_drv(&mut self) -> REG_PAD3_DRV_W<'_, PAD3_SPEC>

Bits 0:1 - Reserved

Source

pub fn reg_pad3_rde(&mut self) -> REG_PAD3_RDE_W<'_, PAD3_SPEC>

Bit 2 - Reserved

Source

pub fn reg_pad3_rue(&mut self) -> REG_PAD3_RUE_W<'_, PAD3_SPEC>

Bit 3 - Reserved

Source

pub fn reg_pad3_mux_sel(&mut self) -> REG_PAD3_MUX_SEL_W<'_, PAD3_SPEC>

Bit 4 - 1:use LP GPIO,0: use digital GPIO

Source

pub fn reg_pad3_fun_sel(&mut self) -> REG_PAD3_FUN_SEL_W<'_, PAD3_SPEC>

Bits 5:6 - function sel

Source

pub fn reg_pad3_slp_sel(&mut self) -> REG_PAD3_SLP_SEL_W<'_, PAD3_SPEC>

Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode

Source

pub fn reg_pad3_slp_ie(&mut self) -> REG_PAD3_SLP_IE_W<'_, PAD3_SPEC>

Bit 8 - input enable in sleep mode

Source

pub fn reg_pad3_slp_oe(&mut self) -> REG_PAD3_SLP_OE_W<'_, PAD3_SPEC>

Bit 9 - output enable in sleep mode

Source

pub fn reg_pad3_fun_ie(&mut self) -> REG_PAD3_FUN_IE_W<'_, PAD3_SPEC>

Bit 10 - input enable in work mode

Source

pub fn reg_pad3_filter_en(&mut self) -> REG_PAD3_FILTER_EN_W<'_, PAD3_SPEC>

Bit 11 - need des