Struct esp32c6_lp::Peripherals

source ·
pub struct Peripherals {
    pub LP_I2C0: LP_I2C0,
    pub LP_PERI: LP_PERI,
    pub LP_ANA: LP_ANA,
    pub LP_AON: LP_AON,
    pub LP_APM: LP_APM,
    pub LP_CLKRST: LP_CLKRST,
    pub LP_I2C_ANA_MST: LP_I2C_ANA_MST,
    pub LP_IO: LP_IO,
    pub LP_TEE: LP_TEE,
    pub LP_TIMER: LP_TIMER,
    pub LP_UART: LP_UART,
    pub LP_WDT: LP_WDT,
}
Expand description

All the peripherals.

Fields§

§LP_I2C0: LP_I2C0

LP_I2C0

§LP_PERI: LP_PERI

LP_PERI

§LP_ANA: LP_ANA

LP_ANA

§LP_AON: LP_AON

LP_AON

§LP_APM: LP_APM

LP_APM

§LP_CLKRST: LP_CLKRST

LP_CLKRST

§LP_I2C_ANA_MST: LP_I2C_ANA_MST

LP_I2C_ANA_MST

§LP_IO: LP_IO

LP_IO

§LP_TEE: LP_TEE

LP_TEE

§LP_TIMER: LP_TIMER

LP_TIMER

§LP_UART: LP_UART

LP_UART

§LP_WDT: LP_WDT

LP_WDT

Implementations§

source§

impl Peripherals

source

pub unsafe fn steal() -> Self

Unchecked version of Peripherals::take.

§Safety

Each of the returned peripherals must be used at most once.

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