# W in k210_pac::fpioa::io - Rust
Writer for register io[%s]
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::fpioa::io::W

source · [−]

    pub type W = W<u32, IO>;

Expand description

Writer for register io[%s]

## Implementations

source

### impl W

source

#### pub fn ch_sel(&mut self) -> CH_SEL_W<'_>

Bits 0:7 - Channel select from 256 input

source

#### pub fn ds(&mut self) -> DS_W<'_>

Bits 8:11 - Driving selector

source

#### pub fn oe_en(&mut self) -> OE_EN_W<'_>

Bit 12 - Static output enable, will AND with OE_INV

source

#### pub fn oe_inv(&mut self) -> OE_INV_W<'_>

Bit 13 - Invert output enable

source

#### pub fn do_sel(&mut self) -> DO_SEL_W<'_>

Bit 14 - Data output select: 0 for DO, 1 for OE

source

#### pub fn do_inv(&mut self) -> DO_INV_W<'_>

Bit 15 - Invert the result of data output select (DO_SEL)

source

#### pub fn pu(&mut self) -> PU_W<'_>

Bit 16 - Pull up enable. 0 for nothing, 1 for pull up

source

#### pub fn pd(&mut self) -> PD_W<'_>

Bit 17 - Pull down enable. 0 for nothing, 1 for pull down

source

#### pub fn sl(&mut self) -> SL_W<'_>

Bit 19 - Slew rate control enable

source

#### pub fn ie_en(&mut self) -> IE_EN_W<'_>

Bit 20 - Static input enable, will AND with IE_INV

source

#### pub fn ie_inv(&mut self) -> IE_INV_W<'_>

Bit 21 - Invert input enable

source

#### pub fn di_inv(&mut self) -> DI_INV_W<'_>

Bit 22 - Invert Data input

source

#### pub fn st(&mut self) -> ST_W<'_>

Bit 23 - Schmitt trigger

source

#### pub fn pad_di(&mut self) -> PAD_DI_W<'_>

Bit 31 - Read current IO’s data input