#[non_exhaustive]pub struct DEDICATED_GPIO;
unstable
only.Expand description
DEDICATED_GPIO peripheral singleton
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Implementations§
Source§impl DEDICATED_GPIO
impl DEDICATED_GPIO
Sourcepub const PTR: *const <DEDICATED_GPIO as Deref>::Target = {0x3f4cf000 as *const <esp32s2::DEDICATED_GPIO as core::ops::Deref>::Target}
pub const PTR: *const <DEDICATED_GPIO as Deref>::Target = {0x3f4cf000 as *const <esp32s2::DEDICATED_GPIO as core::ops::Deref>::Target}
Pointer to the register block
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub const fn ptr() -> *const <DEDICATED_GPIO as Deref>::Target
pub const fn ptr() -> *const <DEDICATED_GPIO as Deref>::Target
Return the pointer to the register block
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub const fn regs<'a>() -> &'a <DEDICATED_GPIO as Deref>::Target
pub const fn regs<'a>() -> &'a <DEDICATED_GPIO as Deref>::Target
Return a reference to the register block
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Sourcepub fn register_block(&self) -> &<DEDICATED_GPIO as Deref>::Target
pub fn register_block(&self) -> &<DEDICATED_GPIO as Deref>::Target
Return a reference to the register block
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Trait Implementations§
Source§impl Debug for DEDICATED_GPIO
impl Debug for DEDICATED_GPIO
Source§impl Format for DEDICATED_GPIO
impl Format for DEDICATED_GPIO
Source§impl Peripheral for DEDICATED_GPIO
impl Peripheral for DEDICATED_GPIO
Source§type P = DEDICATED_GPIO
type P = DEDICATED_GPIO
Source§unsafe fn clone_unchecked(&self) -> Self::P
unsafe fn clone_unchecked(&self) -> Self::P
Source§fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
PeripheralRef
. Read more