Struct esp32s2_hal::peripherals::DEDICATED_GPIO
source · pub struct DEDICATED_GPIO { /* private fields */ }
Implementations§
source§impl DEDICATED_GPIO
impl DEDICATED_GPIO
sourcepub unsafe fn steal() -> DEDICATED_GPIO
pub unsafe fn steal() -> DEDICATED_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.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn out_drt(&self) -> &Reg<OUT_DRT_SPEC>
pub fn out_drt(&self) -> &Reg<OUT_DRT_SPEC>
0x00 - Dedicated GPIO directive output register
sourcepub fn out_msk(&self) -> &Reg<OUT_MSK_SPEC>
pub fn out_msk(&self) -> &Reg<OUT_MSK_SPEC>
0x04 - Dedicated GPIO mask output register
sourcepub fn out_idv(&self) -> &Reg<OUT_IDV_SPEC>
pub fn out_idv(&self) -> &Reg<OUT_IDV_SPEC>
0x08 - Dedicated GPIO individual output register
sourcepub fn out_scan(&self) -> &Reg<OUT_SCAN_SPEC>
pub fn out_scan(&self) -> &Reg<OUT_SCAN_SPEC>
0x0c - Dedicated GPIO output status register
sourcepub fn out_cpu(&self) -> &Reg<OUT_CPU_SPEC>
pub fn out_cpu(&self) -> &Reg<OUT_CPU_SPEC>
0x10 - Dedicated GPIO output mode selection register
sourcepub fn in_dly(&self) -> &Reg<IN_DLY_SPEC>
pub fn in_dly(&self) -> &Reg<IN_DLY_SPEC>
0x14 - Dedicated GPIO input delay configuration register
sourcepub fn in_scan(&self) -> &Reg<IN_SCAN_SPEC>
pub fn in_scan(&self) -> &Reg<IN_SCAN_SPEC>
0x18 - Dedicated GPIO input status register
sourcepub fn intr_rcgn(&self) -> &Reg<INTR_RCGN_SPEC>
pub fn intr_rcgn(&self) -> &Reg<INTR_RCGN_SPEC>
0x1c - Dedicated GPIO interrupts generation mode register
sourcepub fn intr_raw(&self) -> &Reg<INTR_RAW_SPEC>
pub fn intr_raw(&self) -> &Reg<INTR_RAW_SPEC>
0x20 - Raw interrupt status
sourcepub fn intr_rls(&self) -> &Reg<INTR_RLS_SPEC>
pub fn intr_rls(&self) -> &Reg<INTR_RLS_SPEC>
0x24 - Interrupt enable bits
sourcepub fn intr_st(&self) -> &Reg<INTR_ST_SPEC>
pub fn intr_st(&self) -> &Reg<INTR_ST_SPEC>
0x28 - Masked interrupt status
sourcepub fn intr_clr(&self) -> &Reg<INTR_CLR_SPEC>
pub fn intr_clr(&self) -> &Reg<INTR_CLR_SPEC>
0x2c - Interrupt clear bits
Trait Implementations§
source§impl Debug for DEDICATED_GPIO
impl Debug for DEDICATED_GPIO
source§impl Deref for DEDICATED_GPIO
impl Deref for DEDICATED_GPIO
source§impl DerefMut for DEDICATED_GPIO
impl DerefMut for DEDICATED_GPIO
source§impl Peripheral for DEDICATED_GPIO
impl Peripheral for DEDICATED_GPIO
§type P = DEDICATED_GPIO
type P = DEDICATED_GPIO
Peripheral singleton type
source§unsafe fn clone_unchecked(&mut self) -> <DEDICATED_GPIO as Peripheral>::P
unsafe fn clone_unchecked(&mut self) -> <DEDICATED_GPIO as Peripheral>::P
Unsafely clone (duplicate) a peripheral singleton. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DEDICATED_GPIO
impl Send for DEDICATED_GPIO
impl Sync for DEDICATED_GPIO
impl Unpin for DEDICATED_GPIO
impl UnwindSafe for DEDICATED_GPIO
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more