Struct esp32c3::GPIO

source ·
pub struct GPIO { /* private fields */ }
Expand description

General Purpose Input/Output

Implementations§

source§

impl GPIO

source

pub const PTR: *const RegisterBlock = {0x60004000 as *const gpio::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

source

pub fn bt_select(&self) -> &BT_SELECT

0x00 - GPIO bit select register

source

pub fn out(&self) -> &OUT

0x04 - GPIO output register

source

pub fn out_w1ts(&self) -> &OUT_W1TS

0x08 - GPIO output set register

source

pub fn out_w1tc(&self) -> &OUT_W1TC

0x0c - GPIO output clear register

source

pub fn sdio_select(&self) -> &SDIO_SELECT

0x1c - GPIO sdio select register

source

pub fn enable(&self) -> &ENABLE

0x20 - GPIO output enable register

source

pub fn enable_w1ts(&self) -> &ENABLE_W1TS

0x24 - GPIO output enable set register

source

pub fn enable_w1tc(&self) -> &ENABLE_W1TC

0x28 - GPIO output enable clear register

source

pub fn strap(&self) -> &STRAP

0x38 - pad strapping register

source

pub fn in_(&self) -> &IN

0x3c - GPIO input register

source

pub fn status(&self) -> &STATUS

0x44 - GPIO interrupt status register

source

pub fn status_w1ts(&self) -> &STATUS_W1TS

0x48 - GPIO interrupt status set register

source

pub fn status_w1tc(&self) -> &STATUS_W1TC

0x4c - GPIO interrupt status clear register

source

pub fn pcpu_int(&self) -> &PCPU_INT

0x5c - GPIO PRO_CPU interrupt status register

source

pub fn pcpu_nmi_int(&self) -> &PCPU_NMI_INT

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

source

pub fn cpusdio_int(&self) -> &CPUSDIO_INT

0x64 - GPIO CPUSDIO interrupt status register

source

pub fn pin(&self, n: usize) -> &PIN

0x74..0xdc - GPIO pin configuration register

source

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

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

source

pub fn status_next(&self) -> &STATUS_NEXT

0x14c - GPIO interrupt source register

source

pub fn func_in_sel_cfg(&self, n: usize) -> &FUNC_IN_SEL_CFG

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

source

pub fn func_in_sel_cfg_iter(&self) -> impl Iterator<Item = &FUNC_IN_SEL_CFG>

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

source

pub fn func0_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x154 - GPIO input function configuration register

source

pub fn func1_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x158 - GPIO input function configuration register

source

pub fn func2_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x15c - GPIO input function configuration register

source

pub fn func3_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x160 - GPIO input function configuration register

source

pub fn func4_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x164 - GPIO input function configuration register

source

pub fn func5_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x168 - GPIO input function configuration register

source

pub fn func6_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x16c - GPIO input function configuration register

source

pub fn func7_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x170 - GPIO input function configuration register

source

pub fn func8_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x174 - GPIO input function configuration register

source

pub fn func9_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x178 - GPIO input function configuration register

source

pub fn func10_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x17c - GPIO input function configuration register

source

pub fn func11_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x180 - GPIO input function configuration register

source

pub fn func12_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x184 - GPIO input function configuration register

source

pub fn func13_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x188 - GPIO input function configuration register

source

pub fn func14_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x18c - GPIO input function configuration register

source

pub fn func15_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x190 - GPIO input function configuration register

source

pub fn func16_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x194 - GPIO input function configuration register

source

pub fn func17_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x198 - GPIO input function configuration register

source

pub fn func18_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x19c - GPIO input function configuration register

source

pub fn func19_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1a0 - GPIO input function configuration register

source

pub fn func20_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1a4 - GPIO input function configuration register

source

pub fn func21_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1a8 - GPIO input function configuration register

source

pub fn func22_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1ac - GPIO input function configuration register

source

pub fn func23_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1b0 - GPIO input function configuration register

source

pub fn func24_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1b4 - GPIO input function configuration register

source

pub fn func25_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1b8 - GPIO input function configuration register

source

pub fn func26_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1bc - GPIO input function configuration register

source

pub fn func27_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1c0 - GPIO input function configuration register

source

pub fn func28_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1c4 - GPIO input function configuration register

source

pub fn func29_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1c8 - GPIO input function configuration register

source

pub fn func30_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1cc - GPIO input function configuration register

source

pub fn func31_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1d0 - GPIO input function configuration register

source

pub fn func32_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1d4 - GPIO input function configuration register

source

pub fn func33_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1d8 - GPIO input function configuration register

source

pub fn func34_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1dc - GPIO input function configuration register

source

pub fn func35_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1e0 - GPIO input function configuration register

source

pub fn func36_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1e4 - GPIO input function configuration register

source

pub fn func37_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1e8 - GPIO input function configuration register

source

pub fn func38_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1ec - GPIO input function configuration register

source

pub fn func39_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1f0 - GPIO input function configuration register

source

pub fn func40_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1f4 - GPIO input function configuration register

source

pub fn func41_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1f8 - GPIO input function configuration register

source

pub fn func42_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x1fc - GPIO input function configuration register

source

pub fn func43_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x200 - GPIO input function configuration register

source

pub fn func44_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x204 - GPIO input function configuration register

source

pub fn func45_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x208 - GPIO input function configuration register

source

pub fn func46_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x20c - GPIO input function configuration register

source

pub fn func47_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x210 - GPIO input function configuration register

source

pub fn func48_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x214 - GPIO input function configuration register

source

pub fn func49_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x218 - GPIO input function configuration register

source

pub fn func50_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x21c - GPIO input function configuration register

source

pub fn func51_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x220 - GPIO input function configuration register

source

pub fn func52_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x224 - GPIO input function configuration register

source

pub fn func53_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x228 - GPIO input function configuration register

source

pub fn func54_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x22c - GPIO input function configuration register

source

pub fn func55_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x230 - GPIO input function configuration register

source

pub fn func56_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x234 - GPIO input function configuration register

source

pub fn func57_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x238 - GPIO input function configuration register

source

pub fn func58_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x23c - GPIO input function configuration register

source

pub fn func59_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x240 - GPIO input function configuration register

source

pub fn func60_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x244 - GPIO input function configuration register

source

pub fn func61_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x248 - GPIO input function configuration register

source

pub fn func62_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x24c - GPIO input function configuration register

source

pub fn func63_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x250 - GPIO input function configuration register

source

pub fn func64_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x254 - GPIO input function configuration register

source

pub fn func65_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x258 - GPIO input function configuration register

source

pub fn func66_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x25c - GPIO input function configuration register

source

pub fn func67_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x260 - GPIO input function configuration register

source

pub fn func68_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x264 - GPIO input function configuration register

source

pub fn func69_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x268 - GPIO input function configuration register

source

pub fn func70_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x26c - GPIO input function configuration register

source

pub fn func71_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x270 - GPIO input function configuration register

source

pub fn func72_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x274 - GPIO input function configuration register

source

pub fn func73_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x278 - GPIO input function configuration register

source

pub fn func74_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x27c - GPIO input function configuration register

source

pub fn func75_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x280 - GPIO input function configuration register

source

pub fn func76_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x284 - GPIO input function configuration register

source

pub fn func77_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x288 - GPIO input function configuration register

source

pub fn func78_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x28c - GPIO input function configuration register

source

pub fn func79_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x290 - GPIO input function configuration register

source

pub fn func80_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x294 - GPIO input function configuration register

source

pub fn func81_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x298 - GPIO input function configuration register

source

pub fn func82_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x29c - GPIO input function configuration register

source

pub fn func83_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2a0 - GPIO input function configuration register

source

pub fn func84_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2a4 - GPIO input function configuration register

source

pub fn func85_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2a8 - GPIO input function configuration register

source

pub fn func86_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2ac - GPIO input function configuration register

source

pub fn func87_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2b0 - GPIO input function configuration register

source

pub fn func88_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2b4 - GPIO input function configuration register

source

pub fn func89_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2b8 - GPIO input function configuration register

source

pub fn func90_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2bc - GPIO input function configuration register

source

pub fn func91_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2c0 - GPIO input function configuration register

source

pub fn func92_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2c4 - GPIO input function configuration register

source

pub fn func93_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2c8 - GPIO input function configuration register

source

pub fn func94_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2cc - GPIO input function configuration register

source

pub fn func95_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2d0 - GPIO input function configuration register

source

pub fn func96_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2d4 - GPIO input function configuration register

source

pub fn func97_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2d8 - GPIO input function configuration register

source

pub fn func98_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2dc - GPIO input function configuration register

source

pub fn func99_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2e0 - GPIO input function configuration register

source

pub fn func100_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2e4 - GPIO input function configuration register

source

pub fn func101_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2e8 - GPIO input function configuration register

source

pub fn func102_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2ec - GPIO input function configuration register

source

pub fn func103_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2f0 - GPIO input function configuration register

source

pub fn func104_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2f4 - GPIO input function configuration register

source

pub fn func105_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2f8 - GPIO input function configuration register

source

pub fn func106_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x2fc - GPIO input function configuration register

source

pub fn func107_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x300 - GPIO input function configuration register

source

pub fn func108_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x304 - GPIO input function configuration register

source

pub fn func109_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x308 - GPIO input function configuration register

source

pub fn func110_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x30c - GPIO input function configuration register

source

pub fn func111_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x310 - GPIO input function configuration register

source

pub fn func112_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x314 - GPIO input function configuration register

source

pub fn func113_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x318 - GPIO input function configuration register

source

pub fn func114_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x31c - GPIO input function configuration register

source

pub fn func115_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x320 - GPIO input function configuration register

source

pub fn func116_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x324 - GPIO input function configuration register

source

pub fn func117_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x328 - GPIO input function configuration register

source

pub fn func118_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x32c - GPIO input function configuration register

source

pub fn func119_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x330 - GPIO input function configuration register

source

pub fn func120_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x334 - GPIO input function configuration register

source

pub fn func121_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x338 - GPIO input function configuration register

source

pub fn func122_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x33c - GPIO input function configuration register

source

pub fn func123_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x340 - GPIO input function configuration register

source

pub fn func124_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x344 - GPIO input function configuration register

source

pub fn func125_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x348 - GPIO input function configuration register

source

pub fn func126_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x34c - GPIO input function configuration register

source

pub fn func127_in_sel_cfg(&self) -> &FUNC_IN_SEL_CFG

0x350 - GPIO input function configuration register

source

pub fn func_out_sel_cfg(&self, n: usize) -> &FUNC_OUT_SEL_CFG

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

source

pub fn func_out_sel_cfg_iter(&self) -> impl Iterator<Item = &FUNC_OUT_SEL_CFG>

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

source

pub fn func0_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x554 - GPIO output function select register

source

pub fn func1_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x558 - GPIO output function select register

source

pub fn func2_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x55c - GPIO output function select register

source

pub fn func3_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x560 - GPIO output function select register

source

pub fn func4_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x564 - GPIO output function select register

source

pub fn func5_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x568 - GPIO output function select register

source

pub fn func6_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x56c - GPIO output function select register

source

pub fn func7_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x570 - GPIO output function select register

source

pub fn func8_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x574 - GPIO output function select register

source

pub fn func9_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x578 - GPIO output function select register

source

pub fn func10_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x57c - GPIO output function select register

source

pub fn func11_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x580 - GPIO output function select register

source

pub fn func12_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x584 - GPIO output function select register

source

pub fn func13_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x588 - GPIO output function select register

source

pub fn func14_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x58c - GPIO output function select register

source

pub fn func15_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x590 - GPIO output function select register

source

pub fn func16_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x594 - GPIO output function select register

source

pub fn func17_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x598 - GPIO output function select register

source

pub fn func18_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x59c - GPIO output function select register

source

pub fn func19_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x5a0 - GPIO output function select register

source

pub fn func20_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x5a4 - GPIO output function select register

source

pub fn func21_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x5a8 - GPIO output function select register

source

pub fn func22_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x5ac - GPIO output function select register

source

pub fn func23_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x5b0 - GPIO output function select register

source

pub fn func24_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x5b4 - GPIO output function select register

source

pub fn func25_out_sel_cfg(&self) -> &FUNC_OUT_SEL_CFG

0x5b8 - GPIO output function select register

source

pub fn clock_gate(&self) -> &CLOCK_GATE

0x62c - GPIO clock gate register

source

pub fn reg_date(&self) -> &REG_DATE

0x6fc - GPIO version register

Trait Implementations§

source§

impl Debug for GPIO

source§

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

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

impl Deref for GPIO

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for GPIO

Auto Trait Implementations§

§

impl Freeze for GPIO

§

impl RefUnwindSafe 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<T, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.