Struct nrf52810_hal::pac::p0::outclr::R

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

Register OUTCLR reader

Implementations§

source§

impl R

source

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

Bit 0 - Pin 0

source

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

Bit 1 - Pin 1

source

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

Bit 2 - Pin 2

source

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

Bit 3 - Pin 3

source

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

Bit 4 - Pin 4

source

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

Bit 5 - Pin 5

source

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

Bit 6 - Pin 6

source

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

Bit 7 - Pin 7

source

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

Bit 8 - Pin 8

source

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

Bit 9 - Pin 9

source

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

Bit 10 - Pin 10

source

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

Bit 11 - Pin 11

source

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

Bit 12 - Pin 12

source

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

Bit 13 - Pin 13

source

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

Bit 14 - Pin 14

source

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

Bit 15 - Pin 15

source

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

Bit 16 - Pin 16

source

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

Bit 17 - Pin 17

source

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

Bit 18 - Pin 18

source

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

Bit 19 - Pin 19

source

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

Bit 20 - Pin 20

source

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

Bit 21 - Pin 21

source

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

Bit 22 - Pin 22

source

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

Bit 23 - Pin 23

source

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

Bit 24 - Pin 24

source

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

Bit 25 - Pin 25

source

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

Bit 26 - Pin 26

source

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

Bit 27 - Pin 27

source

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

Bit 28 - Pin 28

source

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

Bit 29 - Pin 29

source

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

Bit 30 - Pin 30

source

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

Bit 31 - Pin 31

Methods from Deref<Target = R<OUTCLR_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<OUTCLR_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<OUTCLR_SPEC>> for R

source§

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

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

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.