Struct atsame70n21b::afec0::shmr::R

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

Register SHMR reader

Implementations§

source§

impl R

source

pub fn dual0(&self) -> DUAL0_R

Bit 0 - Dual Sample & Hold for channel 0

source

pub fn dual1(&self) -> DUAL1_R

Bit 1 - Dual Sample & Hold for channel 1

source

pub fn dual2(&self) -> DUAL2_R

Bit 2 - Dual Sample & Hold for channel 2

source

pub fn dual3(&self) -> DUAL3_R

Bit 3 - Dual Sample & Hold for channel 3

source

pub fn dual4(&self) -> DUAL4_R

Bit 4 - Dual Sample & Hold for channel 4

source

pub fn dual5(&self) -> DUAL5_R

Bit 5 - Dual Sample & Hold for channel 5

source

pub fn dual6(&self) -> DUAL6_R

Bit 6 - Dual Sample & Hold for channel 6

source

pub fn dual7(&self) -> DUAL7_R

Bit 7 - Dual Sample & Hold for channel 7

source

pub fn dual8(&self) -> DUAL8_R

Bit 8 - Dual Sample & Hold for channel 8

source

pub fn dual9(&self) -> DUAL9_R

Bit 9 - Dual Sample & Hold for channel 9

source

pub fn dual10(&self) -> DUAL10_R

Bit 10 - Dual Sample & Hold for channel 10

source

pub fn dual11(&self) -> DUAL11_R

Bit 11 - Dual Sample & Hold for channel 11

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<SHMR_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<SHMR_SPEC>> for R

source§

fn from(original: R<SHMR_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> 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>,

§

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.