k210_pac::fpioa::io

Type Alias R

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

Reader of register io[%s]

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn ch_sel(&self) -> CH_SEL_R

Bits 0:7 - Channel select from 256 input

Source

pub fn ds(&self) -> DS_R

Bits 8:11 - Driving selector

Source

pub fn oe_en(&self) -> OE_EN_R

Bit 12 - Static output enable, will AND with OE_INV

Source

pub fn oe_inv(&self) -> OE_INV_R

Bit 13 - Invert output enable

Source

pub fn do_sel(&self) -> DO_SEL_R

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

Source

pub fn do_inv(&self) -> DO_INV_R

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

Source

pub fn pu(&self) -> PU_R

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

Source

pub fn pd(&self) -> PD_R

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

Source

pub fn sl(&self) -> SL_R

Bit 19 - Slew rate control enable

Source

pub fn ie_en(&self) -> IE_EN_R

Bit 20 - Static input enable, will AND with IE_INV

Source

pub fn ie_inv(&self) -> IE_INV_R

Bit 21 - Invert input enable

Source

pub fn di_inv(&self) -> DI_INV_R

Bit 22 - Invert Data input

Source

pub fn st(&self) -> ST_R

Bit 23 - Schmitt trigger

Source

pub fn pad_di(&self) -> PAD_DI_R

Bit 31 - Read current IO’s data input