embassy-nrf

Crates

git

Versions

nrf54l15-app-s

Flavors

embassy_nrf

Struct Peripherals

Source
pub struct Peripherals {
Show 35 fields pub P0_00: P0_00, pub P0_01: P0_01, pub P0_02: P0_02, pub P0_03: P0_03, pub P0_04: P0_04, pub P0_05: P0_05, pub P0_06: P0_06, pub P1_00: P1_00, pub P1_01: P1_01, pub P1_02: P1_02, pub P1_03: P1_03, pub P1_04: P1_04, pub P1_05: P1_05, pub P1_06: P1_06, pub P1_07: P1_07, pub P1_08: P1_08, pub P1_09: P1_09, pub P1_10: P1_10, pub P1_11: P1_11, pub P1_12: P1_12, pub P1_13: P1_13, pub P1_14: P1_14, pub P1_15: P1_15, pub P1_16: P1_16, pub P2_00: P2_00, pub P2_01: P2_01, pub P2_02: P2_02, pub P2_03: P2_03, pub P2_04: P2_04, pub P2_05: P2_05, pub P2_06: P2_06, pub P2_07: P2_07, pub P2_08: P2_08, pub P2_09: P2_09, pub P2_10: P2_10,
}
Expand description

Struct containing all the peripheral singletons.

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

Fields§

§P0_00: P0_00

P0_00 peripheral

§P0_01: P0_01

P0_01 peripheral

§P0_02: P0_02

P0_02 peripheral

§P0_03: P0_03

P0_03 peripheral

§P0_04: P0_04

P0_04 peripheral

§P0_05: P0_05

P0_05 peripheral

§P0_06: P0_06

P0_06 peripheral

§P1_00: P1_00

P1_00 peripheral

§P1_01: P1_01

P1_01 peripheral

§P1_02: P1_02

P1_02 peripheral

§P1_03: P1_03

P1_03 peripheral

§P1_04: P1_04

P1_04 peripheral

§P1_05: P1_05

P1_05 peripheral

§P1_06: P1_06

P1_06 peripheral

§P1_07: P1_07

P1_07 peripheral

§P1_08: P1_08

P1_08 peripheral

§P1_09: P1_09

P1_09 peripheral

§P1_10: P1_10

P1_10 peripheral

§P1_11: P1_11

P1_11 peripheral

§P1_12: P1_12

P1_12 peripheral

§P1_13: P1_13

P1_13 peripheral

§P1_14: P1_14

P1_14 peripheral

§P1_15: P1_15

P1_15 peripheral

§P1_16: P1_16

P1_16 peripheral

§P2_00: P2_00

P2_00 peripheral

§P2_01: P2_01

P2_01 peripheral

§P2_02: P2_02

P2_02 peripheral

§P2_03: P2_03

P2_03 peripheral

§P2_04: P2_04

P2_04 peripheral

§P2_05: P2_05

P2_05 peripheral

§P2_06: P2_06

P2_06 peripheral

§P2_07: P2_07

P2_07 peripheral

§P2_08: P2_08

P2_08 peripheral

§P2_09: P2_09

P2_09 peripheral

§P2_10: P2_10

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