embassy-nxp

Crates

git

Versions

lpc55-core0

Flavors

Struct Peripherals

Source
pub struct Peripherals {
Show 72 fields pub PIO0_0: Peri<'static, PIO0_0>, pub PIO0_1: Peri<'static, PIO0_1>, pub PIO0_2: Peri<'static, PIO0_2>, pub PIO0_3: Peri<'static, PIO0_3>, pub PIO0_4: Peri<'static, PIO0_4>, pub PIO0_5: Peri<'static, PIO0_5>, pub PIO0_6: Peri<'static, PIO0_6>, pub PIO0_7: Peri<'static, PIO0_7>, pub PIO0_8: Peri<'static, PIO0_8>, pub PIO0_9: Peri<'static, PIO0_9>, pub PIO0_10: Peri<'static, PIO0_10>, pub PIO0_11: Peri<'static, PIO0_11>, pub PIO0_12: Peri<'static, PIO0_12>, pub PIO0_13: Peri<'static, PIO0_13>, pub PIO0_14: Peri<'static, PIO0_14>, pub PIO0_15: Peri<'static, PIO0_15>, pub PIO0_16: Peri<'static, PIO0_16>, pub PIO0_17: Peri<'static, PIO0_17>, pub PIO0_18: Peri<'static, PIO0_18>, pub PIO0_19: Peri<'static, PIO0_19>, pub PIO0_20: Peri<'static, PIO0_20>, pub PIO0_21: Peri<'static, PIO0_21>, pub PIO0_22: Peri<'static, PIO0_22>, pub PIO0_23: Peri<'static, PIO0_23>, pub PIO0_24: Peri<'static, PIO0_24>, pub PIO0_25: Peri<'static, PIO0_25>, pub PIO0_26: Peri<'static, PIO0_26>, pub PIO0_27: Peri<'static, PIO0_27>, pub PIO0_28: Peri<'static, PIO0_28>, pub PIO0_29: Peri<'static, PIO0_29>, pub PIO0_30: Peri<'static, PIO0_30>, pub PIO0_31: Peri<'static, PIO0_31>, pub PIO1_0: Peri<'static, PIO1_0>, pub PIO1_1: Peri<'static, PIO1_1>, pub PIO1_2: Peri<'static, PIO1_2>, pub PIO1_3: Peri<'static, PIO1_3>, pub PIO1_4: Peri<'static, PIO1_4>, pub PIO1_5: Peri<'static, PIO1_5>, pub PIO1_6: Peri<'static, PIO1_6>, pub PIO1_7: Peri<'static, PIO1_7>, pub PIO1_8: Peri<'static, PIO1_8>, pub PIO1_9: Peri<'static, PIO1_9>, pub PIO1_10: Peri<'static, PIO1_10>, pub PIO1_11: Peri<'static, PIO1_11>, pub PIO1_12: Peri<'static, PIO1_12>, pub PIO1_13: Peri<'static, PIO1_13>, pub PIO1_14: Peri<'static, PIO1_14>, pub PIO1_15: Peri<'static, PIO1_15>, pub PIO1_16: Peri<'static, PIO1_16>, pub PIO1_17: Peri<'static, PIO1_17>, pub PIO1_18: Peri<'static, PIO1_18>, pub PIO1_19: Peri<'static, PIO1_19>, pub PIO1_20: Peri<'static, PIO1_20>, pub PIO1_21: Peri<'static, PIO1_21>, pub PIO1_22: Peri<'static, PIO1_22>, pub PIO1_23: Peri<'static, PIO1_23>, pub PIO1_24: Peri<'static, PIO1_24>, pub PIO1_25: Peri<'static, PIO1_25>, pub PIO1_26: Peri<'static, PIO1_26>, pub PIO1_27: Peri<'static, PIO1_27>, pub PIO1_28: Peri<'static, PIO1_28>, pub PIO1_29: Peri<'static, PIO1_29>, pub PIO1_30: Peri<'static, PIO1_30>, pub PIO1_31: Peri<'static, PIO1_31>, pub USART0: Peri<'static, USART0>, pub USART1: Peri<'static, USART1>, pub USART2: Peri<'static, USART2>, pub USART3: Peri<'static, USART3>, pub USART4: Peri<'static, USART4>, pub USART5: Peri<'static, USART5>, pub USART6: Peri<'static, USART6>, pub USART7: Peri<'static, USART7>,
}
Expand description

Struct containing all the peripheral singletons.

To obtain the peripherals, you must initialize the HAL, by calling crate::init.

Fields§

§PIO0_0: Peri<'static, PIO0_0>

PIO0_0 peripheral

§PIO0_1: Peri<'static, PIO0_1>

PIO0_1 peripheral

§PIO0_2: Peri<'static, PIO0_2>

PIO0_2 peripheral

§PIO0_3: Peri<'static, PIO0_3>

PIO0_3 peripheral

§PIO0_4: Peri<'static, PIO0_4>

PIO0_4 peripheral

§PIO0_5: Peri<'static, PIO0_5>

PIO0_5 peripheral

§PIO0_6: Peri<'static, PIO0_6>

PIO0_6 peripheral

§PIO0_7: Peri<'static, PIO0_7>

PIO0_7 peripheral

§PIO0_8: Peri<'static, PIO0_8>

PIO0_8 peripheral

§PIO0_9: Peri<'static, PIO0_9>

PIO0_9 peripheral

§PIO0_10: Peri<'static, PIO0_10>

PIO0_10 peripheral

§PIO0_11: Peri<'static, PIO0_11>

PIO0_11 peripheral

§PIO0_12: Peri<'static, PIO0_12>

PIO0_12 peripheral

§PIO0_13: Peri<'static, PIO0_13>

PIO0_13 peripheral

§PIO0_14: Peri<'static, PIO0_14>

PIO0_14 peripheral

§PIO0_15: Peri<'static, PIO0_15>

PIO0_15 peripheral

§PIO0_16: Peri<'static, PIO0_16>

PIO0_16 peripheral

§PIO0_17: Peri<'static, PIO0_17>

PIO0_17 peripheral

§PIO0_18: Peri<'static, PIO0_18>

PIO0_18 peripheral

§PIO0_19: Peri<'static, PIO0_19>

PIO0_19 peripheral

§PIO0_20: Peri<'static, PIO0_20>

PIO0_20 peripheral

§PIO0_21: Peri<'static, PIO0_21>

PIO0_21 peripheral

§PIO0_22: Peri<'static, PIO0_22>

PIO0_22 peripheral

§PIO0_23: Peri<'static, PIO0_23>

PIO0_23 peripheral

§PIO0_24: Peri<'static, PIO0_24>

PIO0_24 peripheral

§PIO0_25: Peri<'static, PIO0_25>

PIO0_25 peripheral

§PIO0_26: Peri<'static, PIO0_26>

PIO0_26 peripheral

§PIO0_27: Peri<'static, PIO0_27>

PIO0_27 peripheral

§PIO0_28: Peri<'static, PIO0_28>

PIO0_28 peripheral

§PIO0_29: Peri<'static, PIO0_29>

PIO0_29 peripheral

§PIO0_30: Peri<'static, PIO0_30>

PIO0_30 peripheral

§PIO0_31: Peri<'static, PIO0_31>

PIO0_31 peripheral

§PIO1_0: Peri<'static, PIO1_0>

PIO1_0 peripheral

§PIO1_1: Peri<'static, PIO1_1>

PIO1_1 peripheral

§PIO1_2: Peri<'static, PIO1_2>

PIO1_2 peripheral

§PIO1_3: Peri<'static, PIO1_3>

PIO1_3 peripheral

§PIO1_4: Peri<'static, PIO1_4>

PIO1_4 peripheral

§PIO1_5: Peri<'static, PIO1_5>

PIO1_5 peripheral

§PIO1_6: Peri<'static, PIO1_6>

PIO1_6 peripheral

§PIO1_7: Peri<'static, PIO1_7>

PIO1_7 peripheral

§PIO1_8: Peri<'static, PIO1_8>

PIO1_8 peripheral

§PIO1_9: Peri<'static, PIO1_9>

PIO1_9 peripheral

§PIO1_10: Peri<'static, PIO1_10>

PIO1_10 peripheral

§PIO1_11: Peri<'static, PIO1_11>

PIO1_11 peripheral

§PIO1_12: Peri<'static, PIO1_12>

PIO1_12 peripheral

§PIO1_13: Peri<'static, PIO1_13>

PIO1_13 peripheral

§PIO1_14: Peri<'static, PIO1_14>

PIO1_14 peripheral

§PIO1_15: Peri<'static, PIO1_15>

PIO1_15 peripheral

§PIO1_16: Peri<'static, PIO1_16>

PIO1_16 peripheral

§PIO1_17: Peri<'static, PIO1_17>

PIO1_17 peripheral

§PIO1_18: Peri<'static, PIO1_18>

PIO1_18 peripheral

§PIO1_19: Peri<'static, PIO1_19>

PIO1_19 peripheral

§PIO1_20: Peri<'static, PIO1_20>

PIO1_20 peripheral

§PIO1_21: Peri<'static, PIO1_21>

PIO1_21 peripheral

§PIO1_22: Peri<'static, PIO1_22>

PIO1_22 peripheral

§PIO1_23: Peri<'static, PIO1_23>

PIO1_23 peripheral

§PIO1_24: Peri<'static, PIO1_24>

PIO1_24 peripheral

§PIO1_25: Peri<'static, PIO1_25>

PIO1_25 peripheral

§PIO1_26: Peri<'static, PIO1_26>

PIO1_26 peripheral

§PIO1_27: Peri<'static, PIO1_27>

PIO1_27 peripheral

§PIO1_28: Peri<'static, PIO1_28>

PIO1_28 peripheral

§PIO1_29: Peri<'static, PIO1_29>

PIO1_29 peripheral

§PIO1_30: Peri<'static, PIO1_30>

PIO1_30 peripheral

§PIO1_31: Peri<'static, PIO1_31>

PIO1_31 peripheral

§USART0: Peri<'static, USART0>

USART0 peripheral

§USART1: Peri<'static, USART1>

USART1 peripheral

§USART2: Peri<'static, USART2>

USART2 peripheral

§USART3: Peri<'static, USART3>

USART3 peripheral

§USART4: Peri<'static, USART4>

USART4 peripheral

§USART5: Peri<'static, USART5>

USART5 peripheral

§USART6: Peri<'static, USART6>

USART6 peripheral

§USART7: Peri<'static, USART7>

USART7 peripheral

Implementations§

Source§

impl Peripherals

Source

pub unsafe fn steal() -> Self

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.

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

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.