k210_pac::fpioa::io

Type Alias W

Source
pub type W = W<u32, IO>;
Expand description

Writer for register io[%s]

Aliased Type§

struct W { /* private fields */ }

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