Struct nrf52840_hal::pac::p0::latch::R

source ·
pub struct R(/* private fields */);
Expand description

Register LATCH reader

Implementations§

source§

impl R

source

pub fn pin0(&self) -> BitReaderRaw<PIN0_A>

Bit 0 - Status on whether PIN0 has met criteria set in PIN_CNF0.SENSE register. Write ‘1’ to clear.

source

pub fn pin1(&self) -> BitReaderRaw<PIN1_A>

Bit 1 - Status on whether PIN1 has met criteria set in PIN_CNF1.SENSE register. Write ‘1’ to clear.

source

pub fn pin2(&self) -> BitReaderRaw<PIN2_A>

Bit 2 - Status on whether PIN2 has met criteria set in PIN_CNF2.SENSE register. Write ‘1’ to clear.

source

pub fn pin3(&self) -> BitReaderRaw<PIN3_A>

Bit 3 - Status on whether PIN3 has met criteria set in PIN_CNF3.SENSE register. Write ‘1’ to clear.

source

pub fn pin4(&self) -> BitReaderRaw<PIN4_A>

Bit 4 - Status on whether PIN4 has met criteria set in PIN_CNF4.SENSE register. Write ‘1’ to clear.

source

pub fn pin5(&self) -> BitReaderRaw<PIN5_A>

Bit 5 - Status on whether PIN5 has met criteria set in PIN_CNF5.SENSE register. Write ‘1’ to clear.

source

pub fn pin6(&self) -> BitReaderRaw<PIN6_A>

Bit 6 - Status on whether PIN6 has met criteria set in PIN_CNF6.SENSE register. Write ‘1’ to clear.

source

pub fn pin7(&self) -> BitReaderRaw<PIN7_A>

Bit 7 - Status on whether PIN7 has met criteria set in PIN_CNF7.SENSE register. Write ‘1’ to clear.

source

pub fn pin8(&self) -> BitReaderRaw<PIN8_A>

Bit 8 - Status on whether PIN8 has met criteria set in PIN_CNF8.SENSE register. Write ‘1’ to clear.

source

pub fn pin9(&self) -> BitReaderRaw<PIN9_A>

Bit 9 - Status on whether PIN9 has met criteria set in PIN_CNF9.SENSE register. Write ‘1’ to clear.

source

pub fn pin10(&self) -> BitReaderRaw<PIN10_A>

Bit 10 - Status on whether PIN10 has met criteria set in PIN_CNF10.SENSE register. Write ‘1’ to clear.

source

pub fn pin11(&self) -> BitReaderRaw<PIN11_A>

Bit 11 - Status on whether PIN11 has met criteria set in PIN_CNF11.SENSE register. Write ‘1’ to clear.

source

pub fn pin12(&self) -> BitReaderRaw<PIN12_A>

Bit 12 - Status on whether PIN12 has met criteria set in PIN_CNF12.SENSE register. Write ‘1’ to clear.

source

pub fn pin13(&self) -> BitReaderRaw<PIN13_A>

Bit 13 - Status on whether PIN13 has met criteria set in PIN_CNF13.SENSE register. Write ‘1’ to clear.

source

pub fn pin14(&self) -> BitReaderRaw<PIN14_A>

Bit 14 - Status on whether PIN14 has met criteria set in PIN_CNF14.SENSE register. Write ‘1’ to clear.

source

pub fn pin15(&self) -> BitReaderRaw<PIN15_A>

Bit 15 - Status on whether PIN15 has met criteria set in PIN_CNF15.SENSE register. Write ‘1’ to clear.

source

pub fn pin16(&self) -> BitReaderRaw<PIN16_A>

Bit 16 - Status on whether PIN16 has met criteria set in PIN_CNF16.SENSE register. Write ‘1’ to clear.

source

pub fn pin17(&self) -> BitReaderRaw<PIN17_A>

Bit 17 - Status on whether PIN17 has met criteria set in PIN_CNF17.SENSE register. Write ‘1’ to clear.

source

pub fn pin18(&self) -> BitReaderRaw<PIN18_A>

Bit 18 - Status on whether PIN18 has met criteria set in PIN_CNF18.SENSE register. Write ‘1’ to clear.

source

pub fn pin19(&self) -> BitReaderRaw<PIN19_A>

Bit 19 - Status on whether PIN19 has met criteria set in PIN_CNF19.SENSE register. Write ‘1’ to clear.

source

pub fn pin20(&self) -> BitReaderRaw<PIN20_A>

Bit 20 - Status on whether PIN20 has met criteria set in PIN_CNF20.SENSE register. Write ‘1’ to clear.

source

pub fn pin21(&self) -> BitReaderRaw<PIN21_A>

Bit 21 - Status on whether PIN21 has met criteria set in PIN_CNF21.SENSE register. Write ‘1’ to clear.

source

pub fn pin22(&self) -> BitReaderRaw<PIN22_A>

Bit 22 - Status on whether PIN22 has met criteria set in PIN_CNF22.SENSE register. Write ‘1’ to clear.

source

pub fn pin23(&self) -> BitReaderRaw<PIN23_A>

Bit 23 - Status on whether PIN23 has met criteria set in PIN_CNF23.SENSE register. Write ‘1’ to clear.

source

pub fn pin24(&self) -> BitReaderRaw<PIN24_A>

Bit 24 - Status on whether PIN24 has met criteria set in PIN_CNF24.SENSE register. Write ‘1’ to clear.

source

pub fn pin25(&self) -> BitReaderRaw<PIN25_A>

Bit 25 - Status on whether PIN25 has met criteria set in PIN_CNF25.SENSE register. Write ‘1’ to clear.

source

pub fn pin26(&self) -> BitReaderRaw<PIN26_A>

Bit 26 - Status on whether PIN26 has met criteria set in PIN_CNF26.SENSE register. Write ‘1’ to clear.

source

pub fn pin27(&self) -> BitReaderRaw<PIN27_A>

Bit 27 - Status on whether PIN27 has met criteria set in PIN_CNF27.SENSE register. Write ‘1’ to clear.

source

pub fn pin28(&self) -> BitReaderRaw<PIN28_A>

Bit 28 - Status on whether PIN28 has met criteria set in PIN_CNF28.SENSE register. Write ‘1’ to clear.

source

pub fn pin29(&self) -> BitReaderRaw<PIN29_A>

Bit 29 - Status on whether PIN29 has met criteria set in PIN_CNF29.SENSE register. Write ‘1’ to clear.

source

pub fn pin30(&self) -> BitReaderRaw<PIN30_A>

Bit 30 - Status on whether PIN30 has met criteria set in PIN_CNF30.SENSE register. Write ‘1’ to clear.

source

pub fn pin31(&self) -> BitReaderRaw<PIN31_A>

Bit 31 - Status on whether PIN31 has met criteria set in PIN_CNF31.SENSE register. Write ‘1’ to clear.

Methods from Deref<Target = R<LATCH_SPEC>>§

source

pub fn bits(&self) -> <REG as RegisterSpec>::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<LATCH_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &<R as Deref>::Target

Dereferences the value.
source§

impl From<R<LATCH_SPEC>> for R

source§

fn from(reader: R<LATCH_SPEC>) -> R

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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.