Struct GPIO_SD

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

Sigma-Delta Modulation

Implementations§

Source§

impl GPIO_SD

Source

pub const PTR: *const RegisterBlock = {0x60091f00 as *const gpio_sd::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 sigmadelta(&self, n: usize) -> &SIGMADELTA

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

Source

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

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

Source

pub fn clock_gate(&self) -> &CLOCK_GATE

0x20 - Clock Gating Configure Register

Source

pub fn sigmadelta_misc(&self) -> &SIGMADELTA_MISC

0x24 - MISC Register

Source

pub fn pad_comp_config(&self) -> &PAD_COMP_CONFIG

0x28 - PAD Compare configure Register

Source

pub fn pad_comp_filter(&self) -> &PAD_COMP_FILTER

0x2c - Zero Detect filter Register

Source

pub fn glitch_filter_ch(&self, n: usize) -> &GLITCH_FILTER_CH

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

Source

pub fn glitch_filter_ch_iter(&self) -> impl Iterator<Item = &GLITCH_FILTER_CH>

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

Source

pub fn etm_event_ch_cfg(&self, n: usize) -> &ETM_EVENT_CH_CFG

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

Source

pub fn etm_event_ch_cfg_iter(&self) -> impl Iterator<Item = &ETM_EVENT_CH_CFG>

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

Source

pub fn etm_event_ch0_cfg(&self) -> &ETM_EVENT_CH_CFG

0x60 - Etm Config register of Channel0

Source

pub fn etm_event_ch1_cfg(&self) -> &ETM_EVENT_CH_CFG

0x64 - Etm Config register of Channel1

Source

pub fn etm_event_ch2_cfg(&self) -> &ETM_EVENT_CH_CFG

0x68 - Etm Config register of Channel2

Source

pub fn etm_event_ch3_cfg(&self) -> &ETM_EVENT_CH_CFG

0x6c - Etm Config register of Channel3

Source

pub fn etm_event_ch4_cfg(&self) -> &ETM_EVENT_CH_CFG

0x70 - Etm Config register of Channel4

Source

pub fn etm_event_ch5_cfg(&self) -> &ETM_EVENT_CH_CFG

0x74 - Etm Config register of Channel5

Source

pub fn etm_event_ch6_cfg(&self) -> &ETM_EVENT_CH_CFG

0x78 - Etm Config register of Channel6

Source

pub fn etm_event_ch7_cfg(&self) -> &ETM_EVENT_CH_CFG

0x7c - Etm Config register of Channel7

Source

pub fn etm_task_p0_cfg(&self) -> &ETM_TASK_P0_CFG

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

Source

pub fn etm_task_p1_cfg(&self) -> &ETM_TASK_P1_CFG

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

Source

pub fn etm_task_p2_cfg(&self) -> &ETM_TASK_P2_CFG

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

Source

pub fn etm_task_p3_cfg(&self) -> &ETM_TASK_P3_CFG

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

Source

pub fn etm_task_p4_cfg(&self) -> &ETM_TASK_P4_CFG

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

Source

pub fn etm_task_p5_cfg(&self) -> &ETM_TASK_P5_CFG

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

Source

pub fn etm_task_p6_cfg(&self) -> &ETM_TASK_P6_CFG

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

Source

pub fn int_raw(&self) -> &INT_RAW

0xe0 - GPIOSD interrupt raw register

Source

pub fn int_st(&self) -> &INT_ST

0xe4 - GPIOSD interrupt masked register

Source

pub fn int_ena(&self) -> &INT_ENA

0xe8 - GPIOSD interrupt enable register

Source

pub fn int_clr(&self) -> &INT_CLR

0xec - GPIOSD interrupt clear register

Source

pub fn version(&self) -> &VERSION

0xfc - Version Control Register

Trait Implementations§

Source§

impl Debug for GPIO_SD

Source§

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

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

impl Deref for GPIO_SD

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl Send for GPIO_SD

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.