embassy-nrf

Crates

git

Versions

nrf54l15-app-s

Flavors

Peripherals

Struct Peripherals 

Source
pub struct Peripherals {
Show 62 fields pub P0_00: Peri<'static, P0_00>, pub P0_01: Peri<'static, P0_01>, pub P0_02: Peri<'static, P0_02>, pub P0_03: Peri<'static, P0_03>, pub P0_04: Peri<'static, P0_04>, pub P0_05: Peri<'static, P0_05>, pub P0_06: Peri<'static, P0_06>, pub P1_00: Peri<'static, P1_00>, pub P1_01: Peri<'static, P1_01>, pub P1_02: Peri<'static, P1_02>, pub P1_03: Peri<'static, P1_03>, pub P1_04: Peri<'static, P1_04>, pub P1_05: Peri<'static, P1_05>, pub P1_06: Peri<'static, P1_06>, pub P1_07: Peri<'static, P1_07>, pub P1_08: Peri<'static, P1_08>, pub P1_09: Peri<'static, P1_09>, pub P1_10: Peri<'static, P1_10>, pub P1_11: Peri<'static, P1_11>, pub P1_12: Peri<'static, P1_12>, pub P1_13: Peri<'static, P1_13>, pub P1_14: Peri<'static, P1_14>, pub P1_15: Peri<'static, P1_15>, pub P1_16: Peri<'static, P1_16>, pub P2_00: Peri<'static, P2_00>, pub P2_01: Peri<'static, P2_01>, pub P2_02: Peri<'static, P2_02>, pub P2_03: Peri<'static, P2_03>, pub P2_04: Peri<'static, P2_04>, pub P2_05: Peri<'static, P2_05>, pub P2_06: Peri<'static, P2_06>, pub P2_07: Peri<'static, P2_07>, pub P2_08: Peri<'static, P2_08>, pub P2_09: Peri<'static, P2_09>, pub P2_10: Peri<'static, P2_10>, pub RTC10: Peri<'static, RTC10>, pub RTC30: Peri<'static, RTC30>, pub SERIAL00: Peri<'static, SERIAL00>, pub SERIAL20: Peri<'static, SERIAL20>, pub SERIAL21: Peri<'static, SERIAL21>, pub SERIAL22: Peri<'static, SERIAL22>, pub SERIAL30: Peri<'static, SERIAL30>, pub SAADC: Peri<'static, SAADC>, pub RADIO: Peri<'static, RADIO>, pub TIMER00: Peri<'static, TIMER00>, pub TIMER10: Peri<'static, TIMER10>, pub TIMER20: Peri<'static, TIMER20>, pub PPIB00: Peri<'static, PPIB00>, pub PPIB01: Peri<'static, PPIB01>, pub PPIB10: Peri<'static, PPIB10>, pub PPIB11: Peri<'static, PPIB11>, pub PPIB20: Peri<'static, PPIB20>, pub PPIB21: Peri<'static, PPIB21>, pub PPIB22: Peri<'static, PPIB22>, pub PPIB30: Peri<'static, PPIB30>, pub GPIOTE20: Peri<'static, GPIOTE20>, pub GPIOTE30: Peri<'static, GPIOTE30>, pub CRACEN: Peri<'static, CRACEN>, pub RRAMC: Peri<'static, RRAMC>, pub TEMP: Peri<'static, TEMP>, pub WDT0: Peri<'static, WDT0>, pub WDT1: Peri<'static, WDT1>,
}
Expand description

Struct containing all the peripheral singletons.

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

Fields§

§P0_00: Peri<'static, P0_00>

P0_00 peripheral

§P0_01: Peri<'static, P0_01>

P0_01 peripheral

§P0_02: Peri<'static, P0_02>

P0_02 peripheral

§P0_03: Peri<'static, P0_03>

P0_03 peripheral

§P0_04: Peri<'static, P0_04>

P0_04 peripheral

§P0_05: Peri<'static, P0_05>

P0_05 peripheral

§P0_06: Peri<'static, P0_06>

P0_06 peripheral

§P1_00: Peri<'static, P1_00>

P1_00 peripheral

§P1_01: Peri<'static, P1_01>

P1_01 peripheral

§P1_02: Peri<'static, P1_02>

P1_02 peripheral

§P1_03: Peri<'static, P1_03>

P1_03 peripheral

§P1_04: Peri<'static, P1_04>

P1_04 peripheral

§P1_05: Peri<'static, P1_05>

P1_05 peripheral

§P1_06: Peri<'static, P1_06>

P1_06 peripheral

§P1_07: Peri<'static, P1_07>

P1_07 peripheral

§P1_08: Peri<'static, P1_08>

P1_08 peripheral

§P1_09: Peri<'static, P1_09>

P1_09 peripheral

§P1_10: Peri<'static, P1_10>

P1_10 peripheral

§P1_11: Peri<'static, P1_11>

P1_11 peripheral

§P1_12: Peri<'static, P1_12>

P1_12 peripheral

§P1_13: Peri<'static, P1_13>

P1_13 peripheral

§P1_14: Peri<'static, P1_14>

P1_14 peripheral

§P1_15: Peri<'static, P1_15>

P1_15 peripheral

§P1_16: Peri<'static, P1_16>

P1_16 peripheral

§P2_00: Peri<'static, P2_00>

P2_00 peripheral

§P2_01: Peri<'static, P2_01>

P2_01 peripheral

§P2_02: Peri<'static, P2_02>

P2_02 peripheral

§P2_03: Peri<'static, P2_03>

P2_03 peripheral

§P2_04: Peri<'static, P2_04>

P2_04 peripheral

§P2_05: Peri<'static, P2_05>

P2_05 peripheral

§P2_06: Peri<'static, P2_06>

P2_06 peripheral

§P2_07: Peri<'static, P2_07>

P2_07 peripheral

§P2_08: Peri<'static, P2_08>

P2_08 peripheral

§P2_09: Peri<'static, P2_09>

P2_09 peripheral

§P2_10: Peri<'static, P2_10>

P2_10 peripheral

§RTC10: Peri<'static, RTC10>

RTC10 peripheral

§RTC30: Peri<'static, RTC30>

RTC30 peripheral

§SERIAL00: Peri<'static, SERIAL00>

SERIAL00 peripheral

§SERIAL20: Peri<'static, SERIAL20>

SERIAL20 peripheral

§SERIAL21: Peri<'static, SERIAL21>

SERIAL21 peripheral

§SERIAL22: Peri<'static, SERIAL22>

SERIAL22 peripheral

§SERIAL30: Peri<'static, SERIAL30>

SERIAL30 peripheral

§SAADC: Peri<'static, SAADC>

SAADC peripheral

§RADIO: Peri<'static, RADIO>

RADIO peripheral

§TIMER00: Peri<'static, TIMER00>

TIMER00 peripheral

§TIMER10: Peri<'static, TIMER10>

TIMER10 peripheral

§TIMER20: Peri<'static, TIMER20>

TIMER20 peripheral

§PPIB00: Peri<'static, PPIB00>

PPIB00 peripheral

§PPIB01: Peri<'static, PPIB01>

PPIB01 peripheral

§PPIB10: Peri<'static, PPIB10>

PPIB10 peripheral

§PPIB11: Peri<'static, PPIB11>

PPIB11 peripheral

§PPIB20: Peri<'static, PPIB20>

PPIB20 peripheral

§PPIB21: Peri<'static, PPIB21>

PPIB21 peripheral

§PPIB22: Peri<'static, PPIB22>

PPIB22 peripheral

§PPIB30: Peri<'static, PPIB30>

PPIB30 peripheral

§GPIOTE20: Peri<'static, GPIOTE20>

GPIOTE20 peripheral

§GPIOTE30: Peri<'static, GPIOTE30>

GPIOTE30 peripheral

§CRACEN: Peri<'static, CRACEN>

CRACEN peripheral

§RRAMC: Peri<'static, RRAMC>

RRAMC peripheral

§TEMP: Peri<'static, TEMP>

TEMP peripheral

§WDT0: Peri<'static, WDT0>

WDT0 peripheral

§WDT1: Peri<'static, WDT1>

WDT1 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> Az for T

Source§

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
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<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

Source§

fn cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> CheckedAs for T

Source§

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

Source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
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<Src, Dst> LosslessTryInto<Dst> for Src
where Dst: LosslessTryFrom<Src>,

Source§

fn lossless_try_into(self) -> Option<Dst>

Performs the conversion.
Source§

impl<Src, Dst> LossyInto<Dst> for Src
where Dst: LossyFrom<Src>,

Source§

fn lossy_into(self) -> Dst

Performs the conversion.
Source§

impl<T> OverflowingAs for T

Source§

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

Source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> SaturatingAs for T

Source§

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

Source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
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.
Source§

impl<T> UnwrappedAs for T

Source§

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

Source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
Source§

impl<T> WrappingAs for T

Source§

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
Source§

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

Source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.