Struct GPIO

Source
pub struct GPIO { /* private fields */ }

Implementations§

Source§

impl GPIO

Source

pub const PTR: *const <GPIO as Deref>::Target = {0x60091000 as *const <esp32c6::GPIO as core::ops::Deref>::Target}

Pointer to the register block

Source

pub unsafe fn steal() -> GPIO

Unsafely create an instance of this peripheral out of thin air.

§Safety

You must ensure that you’re only using one instance of this type at a time.

Source

pub const fn ptr() -> *const <GPIO as Deref>::Target

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

Source

pub fn bt_select(&self) -> &Reg<BT_SELECT_SPEC>

0x00 - GPIO bit select register

Source

pub fn out(&self) -> &Reg<OUT_SPEC>

0x04 - GPIO output register for GPIO0-31

Source

pub fn out_w1ts(&self) -> &Reg<OUT_W1TS_SPEC>

0x08 - GPIO output set register for GPIO0-31

Source

pub fn out_w1tc(&self) -> &Reg<OUT_W1TC_SPEC>

0x0c - GPIO output clear register for GPIO0-31

Source

pub fn out1(&self) -> &Reg<OUT1_SPEC>

0x10 - GPIO output register for GPIO32-34

Source

pub fn out1_w1ts(&self) -> &Reg<OUT1_W1TS_SPEC>

0x14 - GPIO output set register for GPIO32-34

Source

pub fn out1_w1tc(&self) -> &Reg<OUT1_W1TC_SPEC>

0x18 - GPIO output clear register for GPIO32-34

Source

pub fn sdio_select(&self) -> &Reg<SDIO_SELECT_SPEC>

0x1c - GPIO sdio select register

Source

pub fn enable(&self) -> &Reg<ENABLE_SPEC>

0x20 - GPIO output enable register for GPIO0-31

Source

pub fn enable_w1ts(&self) -> &Reg<ENABLE_W1TS_SPEC>

0x24 - GPIO output enable set register for GPIO0-31

Source

pub fn enable_w1tc(&self) -> &Reg<ENABLE_W1TC_SPEC>

0x28 - GPIO output enable clear register for GPIO0-31

Source

pub fn enable1(&self) -> &Reg<ENABLE1_SPEC>

0x2c - GPIO output enable register for GPIO32-34

Source

pub fn enable1_w1ts(&self) -> &Reg<ENABLE1_W1TS_SPEC>

0x30 - GPIO output enable set register for GPIO32-34

Source

pub fn enable1_w1tc(&self) -> &Reg<ENABLE1_W1TC_SPEC>

0x34 - GPIO output enable clear register for GPIO32-34

Source

pub fn strap(&self) -> &Reg<STRAP_SPEC>

0x38 - pad strapping register

Source

pub fn in_(&self) -> &Reg<IN_SPEC>

0x3c - GPIO input register for GPIO0-31

Source

pub fn in1(&self) -> &Reg<IN1_SPEC>

0x40 - GPIO input register for GPIO32-34

Source

pub fn status(&self) -> &Reg<STATUS_SPEC>

0x44 - GPIO interrupt status register for GPIO0-31

Source

pub fn status_w1ts(&self) -> &Reg<STATUS_W1TS_SPEC>

0x48 - GPIO interrupt status set register for GPIO0-31

Source

pub fn status_w1tc(&self) -> &Reg<STATUS_W1TC_SPEC>

0x4c - GPIO interrupt status clear register for GPIO0-31

Source

pub fn status1(&self) -> &Reg<STATUS1_SPEC>

0x50 - GPIO interrupt status register for GPIO32-34

Source

pub fn status1_w1ts(&self) -> &Reg<STATUS1_W1TS_SPEC>

0x54 - GPIO interrupt status set register for GPIO32-34

Source

pub fn status1_w1tc(&self) -> &Reg<STATUS1_W1TC_SPEC>

0x58 - GPIO interrupt status clear register for GPIO32-34

Source

pub fn pcpu_int(&self) -> &Reg<PCPU_INT_SPEC>

0x5c - GPIO PRO_CPU interrupt status register for GPIO0-31

Source

pub fn pcpu_nmi_int(&self) -> &Reg<PCPU_NMI_INT_SPEC>

0x60 - GPIO PRO_CPU(not shielded) interrupt status register for GPIO0-31

Source

pub fn cpusdio_int(&self) -> &Reg<CPUSDIO_INT_SPEC>

0x64 - GPIO CPUSDIO interrupt status register for GPIO0-31

Source

pub fn pcpu_int1(&self) -> &Reg<PCPU_INT1_SPEC>

0x68 - GPIO PRO_CPU interrupt status register for GPIO32-34

Source

pub fn pcpu_nmi_int1(&self) -> &Reg<PCPU_NMI_INT1_SPEC>

0x6c - GPIO PRO_CPU(not shielded) interrupt status register for GPIO32-34

Source

pub fn cpusdio_int1(&self) -> &Reg<CPUSDIO_INT1_SPEC>

0x70 - GPIO CPUSDIO interrupt status register for GPIO32-34

Source

pub fn pin(&self, n: usize) -> &Reg<PIN_SPEC>

0x74..0x100 - GPIO pin configuration register

Source

pub fn pin_iter(&self) -> impl Iterator<Item = &Reg<PIN_SPEC>>

Iterator for array of: 0x74..0x100 - GPIO pin configuration register

Source

pub fn status_next(&self) -> &Reg<STATUS_NEXT_SPEC>

0x14c - GPIO interrupt source register for GPIO0-31

Source

pub fn status_next1(&self) -> &Reg<STATUS_NEXT1_SPEC>

0x150 - GPIO interrupt source register for GPIO32-34

Source

pub fn func_in_sel_cfg(&self, n: usize) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x154..0x354 - GPIO input function configuration register

Source

pub fn func_in_sel_cfg_iter( &self, ) -> impl Iterator<Item = &Reg<FUNC_IN_SEL_CFG_SPEC>>

Iterator for array of: 0x154..0x354 - GPIO input function configuration register

Source

pub fn func0_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x154 - GPIO input function configuration register

Source

pub fn func1_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x158 - GPIO input function configuration register

Source

pub fn func2_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x15c - GPIO input function configuration register

Source

pub fn func3_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x160 - GPIO input function configuration register

Source

pub fn func4_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x164 - GPIO input function configuration register

Source

pub fn func5_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x168 - GPIO input function configuration register

Source

pub fn func6_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x16c - GPIO input function configuration register

Source

pub fn func7_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x170 - GPIO input function configuration register

Source

pub fn func8_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x174 - GPIO input function configuration register

Source

pub fn func9_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x178 - GPIO input function configuration register

Source

pub fn func10_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x17c - GPIO input function configuration register

Source

pub fn func11_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x180 - GPIO input function configuration register

Source

pub fn func12_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x184 - GPIO input function configuration register

Source

pub fn func13_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x188 - GPIO input function configuration register

Source

pub fn func14_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x18c - GPIO input function configuration register

Source

pub fn func15_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x190 - GPIO input function configuration register

Source

pub fn func16_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x194 - GPIO input function configuration register

Source

pub fn func17_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x198 - GPIO input function configuration register

Source

pub fn func18_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x19c - GPIO input function configuration register

Source

pub fn func19_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1a0 - GPIO input function configuration register

Source

pub fn func20_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1a4 - GPIO input function configuration register

Source

pub fn func21_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1a8 - GPIO input function configuration register

Source

pub fn func22_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1ac - GPIO input function configuration register

Source

pub fn func23_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1b0 - GPIO input function configuration register

Source

pub fn func24_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1b4 - GPIO input function configuration register

Source

pub fn func25_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1b8 - GPIO input function configuration register

Source

pub fn func26_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1bc - GPIO input function configuration register

Source

pub fn func27_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1c0 - GPIO input function configuration register

Source

pub fn func28_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1c4 - GPIO input function configuration register

Source

pub fn func29_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1c8 - GPIO input function configuration register

Source

pub fn func30_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1cc - GPIO input function configuration register

Source

pub fn func31_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1d0 - GPIO input function configuration register

Source

pub fn func32_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1d4 - GPIO input function configuration register

Source

pub fn func33_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1d8 - GPIO input function configuration register

Source

pub fn func34_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1dc - GPIO input function configuration register

Source

pub fn func35_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1e0 - GPIO input function configuration register

Source

pub fn func36_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1e4 - GPIO input function configuration register

Source

pub fn func37_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1e8 - GPIO input function configuration register

Source

pub fn func38_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1ec - GPIO input function configuration register

Source

pub fn func39_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1f0 - GPIO input function configuration register

Source

pub fn func40_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1f4 - GPIO input function configuration register

Source

pub fn func41_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1f8 - GPIO input function configuration register

Source

pub fn func42_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x1fc - GPIO input function configuration register

Source

pub fn func43_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x200 - GPIO input function configuration register

Source

pub fn func44_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x204 - GPIO input function configuration register

Source

pub fn func45_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x208 - GPIO input function configuration register

Source

pub fn func46_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x20c - GPIO input function configuration register

Source

pub fn func47_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x210 - GPIO input function configuration register

Source

pub fn func48_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x214 - GPIO input function configuration register

Source

pub fn func49_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x218 - GPIO input function configuration register

Source

pub fn func50_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x21c - GPIO input function configuration register

Source

pub fn func51_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x220 - GPIO input function configuration register

Source

pub fn func52_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x224 - GPIO input function configuration register

Source

pub fn func53_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x228 - GPIO input function configuration register

Source

pub fn func54_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x22c - GPIO input function configuration register

Source

pub fn func55_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x230 - GPIO input function configuration register

Source

pub fn func56_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x234 - GPIO input function configuration register

Source

pub fn func57_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x238 - GPIO input function configuration register

Source

pub fn func58_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x23c - GPIO input function configuration register

Source

pub fn func59_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x240 - GPIO input function configuration register

Source

pub fn func60_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x244 - GPIO input function configuration register

Source

pub fn func61_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x248 - GPIO input function configuration register

Source

pub fn func62_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x24c - GPIO input function configuration register

Source

pub fn func63_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x250 - GPIO input function configuration register

Source

pub fn func64_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x254 - GPIO input function configuration register

Source

pub fn func65_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x258 - GPIO input function configuration register

Source

pub fn func66_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x25c - GPIO input function configuration register

Source

pub fn func67_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x260 - GPIO input function configuration register

Source

pub fn func68_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x264 - GPIO input function configuration register

Source

pub fn func69_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x268 - GPIO input function configuration register

Source

pub fn func70_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x26c - GPIO input function configuration register

Source

pub fn func71_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x270 - GPIO input function configuration register

Source

pub fn func72_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x274 - GPIO input function configuration register

Source

pub fn func73_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x278 - GPIO input function configuration register

Source

pub fn func74_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x27c - GPIO input function configuration register

Source

pub fn func75_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x280 - GPIO input function configuration register

Source

pub fn func76_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x284 - GPIO input function configuration register

Source

pub fn func77_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x288 - GPIO input function configuration register

Source

pub fn func78_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x28c - GPIO input function configuration register

Source

pub fn func79_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x290 - GPIO input function configuration register

Source

pub fn func80_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x294 - GPIO input function configuration register

Source

pub fn func81_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x298 - GPIO input function configuration register

Source

pub fn func82_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x29c - GPIO input function configuration register

Source

pub fn func83_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2a0 - GPIO input function configuration register

Source

pub fn func84_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2a4 - GPIO input function configuration register

Source

pub fn func85_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2a8 - GPIO input function configuration register

Source

pub fn func86_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2ac - GPIO input function configuration register

Source

pub fn func87_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2b0 - GPIO input function configuration register

Source

pub fn func88_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2b4 - GPIO input function configuration register

Source

pub fn func89_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2b8 - GPIO input function configuration register

Source

pub fn func90_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2bc - GPIO input function configuration register

Source

pub fn func91_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2c0 - GPIO input function configuration register

Source

pub fn func92_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2c4 - GPIO input function configuration register

Source

pub fn func93_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2c8 - GPIO input function configuration register

Source

pub fn func94_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2cc - GPIO input function configuration register

Source

pub fn func95_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2d0 - GPIO input function configuration register

Source

pub fn func96_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2d4 - GPIO input function configuration register

Source

pub fn func97_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2d8 - GPIO input function configuration register

Source

pub fn func98_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2dc - GPIO input function configuration register

Source

pub fn func99_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2e0 - GPIO input function configuration register

Source

pub fn func100_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2e4 - GPIO input function configuration register

Source

pub fn func101_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2e8 - GPIO input function configuration register

Source

pub fn func102_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2ec - GPIO input function configuration register

Source

pub fn func103_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2f0 - GPIO input function configuration register

Source

pub fn func104_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2f4 - GPIO input function configuration register

Source

pub fn func105_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2f8 - GPIO input function configuration register

Source

pub fn func106_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x2fc - GPIO input function configuration register

Source

pub fn func107_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x300 - GPIO input function configuration register

Source

pub fn func108_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x304 - GPIO input function configuration register

Source

pub fn func109_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x308 - GPIO input function configuration register

Source

pub fn func110_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x30c - GPIO input function configuration register

Source

pub fn func111_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x310 - GPIO input function configuration register

Source

pub fn func112_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x314 - GPIO input function configuration register

Source

pub fn func113_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x318 - GPIO input function configuration register

Source

pub fn func114_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x31c - GPIO input function configuration register

Source

pub fn func115_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x320 - GPIO input function configuration register

Source

pub fn func116_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x324 - GPIO input function configuration register

Source

pub fn func117_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x328 - GPIO input function configuration register

Source

pub fn func118_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x32c - GPIO input function configuration register

Source

pub fn func119_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x330 - GPIO input function configuration register

Source

pub fn func120_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x334 - GPIO input function configuration register

Source

pub fn func121_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x338 - GPIO input function configuration register

Source

pub fn func122_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x33c - GPIO input function configuration register

Source

pub fn func123_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x340 - GPIO input function configuration register

Source

pub fn func124_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x344 - GPIO input function configuration register

Source

pub fn func125_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x348 - GPIO input function configuration register

Source

pub fn func126_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x34c - GPIO input function configuration register

Source

pub fn func127_in_sel_cfg(&self) -> &Reg<FUNC_IN_SEL_CFG_SPEC>

0x350 - GPIO input function configuration register

Source

pub fn func_out_sel_cfg(&self, n: usize) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x554..0x5cc - GPIO output function select register

Source

pub fn func_out_sel_cfg_iter( &self, ) -> impl Iterator<Item = &Reg<FUNC_OUT_SEL_CFG_SPEC>>

Iterator for array of: 0x554..0x5cc - GPIO output function select register

Source

pub fn func0_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x554 - GPIO output function select register

Source

pub fn func1_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x558 - GPIO output function select register

Source

pub fn func2_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x55c - GPIO output function select register

Source

pub fn func3_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x560 - GPIO output function select register

Source

pub fn func4_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x564 - GPIO output function select register

Source

pub fn func5_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x568 - GPIO output function select register

Source

pub fn func6_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x56c - GPIO output function select register

Source

pub fn func7_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x570 - GPIO output function select register

Source

pub fn func8_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x574 - GPIO output function select register

Source

pub fn func9_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x578 - GPIO output function select register

Source

pub fn func10_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x57c - GPIO output function select register

Source

pub fn func11_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x580 - GPIO output function select register

Source

pub fn func12_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x584 - GPIO output function select register

Source

pub fn func13_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x588 - GPIO output function select register

Source

pub fn func14_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x58c - GPIO output function select register

Source

pub fn func15_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x590 - GPIO output function select register

Source

pub fn func16_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x594 - GPIO output function select register

Source

pub fn func17_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x598 - GPIO output function select register

Source

pub fn func18_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x59c - GPIO output function select register

Source

pub fn func19_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5a0 - GPIO output function select register

Source

pub fn func20_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5a4 - GPIO output function select register

Source

pub fn func21_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5a8 - GPIO output function select register

Source

pub fn func22_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5ac - GPIO output function select register

Source

pub fn func23_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5b0 - GPIO output function select register

Source

pub fn func24_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5b4 - GPIO output function select register

Source

pub fn func25_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5b8 - GPIO output function select register

Source

pub fn func26_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5bc - GPIO output function select register

Source

pub fn func27_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5c0 - GPIO output function select register

Source

pub fn func28_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5c4 - GPIO output function select register

Source

pub fn func29_out_sel_cfg(&self) -> &Reg<FUNC_OUT_SEL_CFG_SPEC>

0x5c8 - GPIO output function select register

Source

pub fn clock_gate(&self) -> &Reg<CLOCK_GATE_SPEC>

0x62c - GPIO clock gate register

Source

pub fn date(&self) -> &Reg<DATE_SPEC>

0x6fc - GPIO version register

Trait Implementations§

Source§

impl Debug for GPIO

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Deref for GPIO

Source§

type Target = <GPIO as Deref>::Target

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<GPIO as Deref>::Target

Dereferences the value.
Source§

impl DerefMut for GPIO

Source§

fn deref_mut(&mut self) -> &mut <GPIO as Deref>::Target

Mutably dereferences the value.
Source§

impl Peripheral for GPIO

Source§

type P = GPIO

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&mut self) -> <GPIO as Peripheral>::P

Unsafely clone (duplicate) a peripheral singleton. Read more
Source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more

Auto Trait Implementations§

§

impl Freeze for GPIO

§

impl RefUnwindSafe for GPIO

§

impl Send for GPIO

§

impl Sync for GPIO

§

impl Unpin for GPIO

§

impl UnwindSafe for GPIO

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.