Struct GPIO_SD

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

Implementations§

Source§

impl GPIO_SD

Source

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

Pointer to the register block

Source

pub unsafe fn steal() -> GPIO_SD

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_SD as Deref>::Target

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

Source

pub fn sigmadelta(&self, n: usize) -> &Reg<SIGMADELTA_SPEC>

0x00..0x10 - Duty Cycle Configure Register of SDM%s

Source

pub fn sigmadelta_iter(&self) -> impl Iterator<Item = &Reg<SIGMADELTA_SPEC>>

Iterator for array of: 0x00..0x10 - Duty Cycle Configure Register of SDM%s

Source

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

0x20 - Clock Gating Configure Register

Source

pub fn sigmadelta_misc(&self) -> &Reg<SIGMADELTA_MISC_SPEC>

0x24 - MISC Register

Source

pub fn glitch_filter_ch(&self, n: usize) -> &Reg<GLITCH_FILTER_CH_SPEC>

0x30..0x50 - Glitch Filter Configure Register of Channel%s

Source

pub fn glitch_filter_ch_iter( &self, ) -> impl Iterator<Item = &Reg<GLITCH_FILTER_CH_SPEC>>

Iterator for array of: 0x30..0x50 - Glitch Filter Configure Register of Channel%s

Source

pub fn etm_event_ch_cfg(&self, n: usize) -> &Reg<ETM_EVENT_CH_CFG_SPEC>

0x60..0x80 - Etm Config register of Channel%s

Source

pub fn etm_event_ch_cfg_iter( &self, ) -> impl Iterator<Item = &Reg<ETM_EVENT_CH_CFG_SPEC>>

Iterator for array of: 0x60..0x80 - Etm Config register of Channel%s

Source

pub fn etm_event_ch0_cfg(&self) -> &Reg<ETM_EVENT_CH_CFG_SPEC>

0x60 - Etm Config register of Channel0

Source

pub fn etm_event_ch1_cfg(&self) -> &Reg<ETM_EVENT_CH_CFG_SPEC>

0x64 - Etm Config register of Channel1

Source

pub fn etm_event_ch2_cfg(&self) -> &Reg<ETM_EVENT_CH_CFG_SPEC>

0x68 - Etm Config register of Channel2

Source

pub fn etm_event_ch3_cfg(&self) -> &Reg<ETM_EVENT_CH_CFG_SPEC>

0x6c - Etm Config register of Channel3

Source

pub fn etm_event_ch4_cfg(&self) -> &Reg<ETM_EVENT_CH_CFG_SPEC>

0x70 - Etm Config register of Channel4

Source

pub fn etm_event_ch5_cfg(&self) -> &Reg<ETM_EVENT_CH_CFG_SPEC>

0x74 - Etm Config register of Channel5

Source

pub fn etm_event_ch6_cfg(&self) -> &Reg<ETM_EVENT_CH_CFG_SPEC>

0x78 - Etm Config register of Channel6

Source

pub fn etm_event_ch7_cfg(&self) -> &Reg<ETM_EVENT_CH_CFG_SPEC>

0x7c - Etm Config register of Channel7

Source

pub fn etm_task_p0_cfg(&self) -> &Reg<ETM_TASK_P0_CFG_SPEC>

0xa0 - Etm Configure Register to decide which GPIO been chosen

Source

pub fn etm_task_p1_cfg(&self) -> &Reg<ETM_TASK_P1_CFG_SPEC>

0xa4 - Etm Configure Register to decide which GPIO been chosen

Source

pub fn etm_task_p2_cfg(&self) -> &Reg<ETM_TASK_P2_CFG_SPEC>

0xa8 - Etm Configure Register to decide which GPIO been chosen

Source

pub fn etm_task_p3_cfg(&self) -> &Reg<ETM_TASK_P3_CFG_SPEC>

0xac - Etm Configure Register to decide which GPIO been chosen

Source

pub fn etm_task_p4_cfg(&self) -> &Reg<ETM_TASK_P4_CFG_SPEC>

0xb0 - Etm Configure Register to decide which GPIO been chosen

Source

pub fn etm_task_p5_cfg(&self) -> &Reg<ETM_TASK_P5_CFG_SPEC>

0xb4 - Etm Configure Register to decide which GPIO been chosen

Source

pub fn etm_task_p6_cfg(&self) -> &Reg<ETM_TASK_P6_CFG_SPEC>

0xb8 - Etm Configure Register to decide which GPIO been chosen

Source

pub fn etm_task_p7_cfg(&self) -> &Reg<ETM_TASK_P7_CFG_SPEC>

0xbc - Etm Configure Register to decide which GPIO been chosen

Source

pub fn version(&self) -> &Reg<VERSION_SPEC>

0xfc - Version Control Register

Trait Implementations§

Source§

impl Debug for GPIO_SD

Source§

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

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

impl Deref for GPIO_SD

Source§

type Target = <GPIO_SD as Deref>::Target

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl DerefMut for GPIO_SD

Source§

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

Mutably dereferences the value.
Source§

impl Peripheral for GPIO_SD

Source§

type P = GPIO_SD

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&mut self) -> <GPIO_SD 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§

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.