Struct nrf52840_hal::ppi::Parts

source ·
pub struct Parts {
Show 38 fields pub ppi0: Ppi0, pub ppi1: Ppi1, pub ppi2: Ppi2, pub ppi3: Ppi3, pub ppi4: Ppi4, pub ppi5: Ppi5, pub ppi6: Ppi6, pub ppi7: Ppi7, pub ppi8: Ppi8, pub ppi9: Ppi9, pub ppi10: Ppi10, pub ppi11: Ppi11, pub ppi12: Ppi12, pub ppi13: Ppi13, pub ppi14: Ppi14, pub ppi15: Ppi15, pub ppi16: Ppi16, pub ppi17: Ppi17, pub ppi18: Ppi18, pub ppi19: Ppi19, pub ppi20: Ppi20, pub ppi21: Ppi21, pub ppi22: Ppi22, pub ppi23: Ppi23, pub ppi24: Ppi24, pub ppi25: Ppi25, pub ppi26: Ppi26, pub ppi27: Ppi27, pub ppi28: Ppi28, pub ppi29: Ppi29, pub ppi30: Ppi30, pub ppi31: Ppi31, pub chg0: Chg0, pub chg1: Chg1, pub chg2: Chg2, pub chg3: Chg3, pub chg4: Chg4, pub chg5: Chg5,
}
Expand description

Type that abstracts all the PPI channels.

Fields§

§ppi0: Ppi0§ppi1: Ppi1§ppi2: Ppi2§ppi3: Ppi3§ppi4: Ppi4§ppi5: Ppi5§ppi6: Ppi6§ppi7: Ppi7§ppi8: Ppi8§ppi9: Ppi9§ppi10: Ppi10§ppi11: Ppi11§ppi12: Ppi12§ppi13: Ppi13§ppi14: Ppi14§ppi15: Ppi15§ppi16: Ppi16§ppi17: Ppi17§ppi18: Ppi18§ppi19: Ppi19§ppi20: Ppi20§ppi21: Ppi21§ppi22: Ppi22§ppi23: Ppi23§ppi24: Ppi24§ppi25: Ppi25§ppi26: Ppi26§ppi27: Ppi27§ppi28: Ppi28§ppi29: Ppi29§ppi30: Ppi30§ppi31: Ppi31§chg0: Chg0§chg1: Chg1§chg2: Chg2§chg3: Chg3§chg4: Chg4§chg5: Chg5

Implementations§

source§

impl Parts

source

pub fn new(_regs: PPI) -> Parts

Gets access to the PPI abstraction, making it possible to separate the channels through different objects.

Auto Trait Implementations§

§

impl Freeze for Parts

§

impl RefUnwindSafe for Parts

§

impl Send for Parts

§

impl Sync for Parts

§

impl Unpin for Parts

§

impl UnwindSafe for Parts

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

§

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

§

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