Struct daisy::pac::hrtim_common::bmtrg::R

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

Register BMTRG reader

Implementations§

§

impl R

pub fn ochpev(&self) -> BitReaderRaw<bool>

Bit 31 - OCHPEV

pub fn tecmp2(&self) -> BitReaderRaw<bool>

Bit 26 - TECMP2

pub fn tecmp1(&self) -> BitReaderRaw<bool>

Bit 25 - TECMP1

pub fn terep(&self) -> BitReaderRaw<bool>

Bit 24 - TEREP

pub fn terst(&self) -> BitReaderRaw<bool>

Bit 23 - TERST

pub fn tdcmp2(&self) -> BitReaderRaw<bool>

Bit 22 - TDCMP2

pub fn tdcmp1(&self) -> BitReaderRaw<bool>

Bit 21 - TDCMP1

pub fn tdrep(&self) -> BitReaderRaw<bool>

Bit 20 - TDREP

pub fn tdrst(&self) -> BitReaderRaw<bool>

Bit 19 - TDRST

pub fn tccmp2(&self) -> BitReaderRaw<bool>

Bit 18 - TCCMP2

pub fn tccmp1(&self) -> BitReaderRaw<bool>

Bit 17 - TCCMP1

pub fn tcrep(&self) -> BitReaderRaw<bool>

Bit 16 - TCREP

pub fn tcrst(&self) -> BitReaderRaw<bool>

Bit 15 - TCRST

pub fn tbcmp2(&self) -> BitReaderRaw<bool>

Bit 14 - TBCMP2

pub fn tbcmp1(&self) -> BitReaderRaw<bool>

Bit 13 - TBCMP1

pub fn tbrep(&self) -> BitReaderRaw<bool>

Bit 12 - TBREP

pub fn tbrst(&self) -> BitReaderRaw<bool>

Bit 11 - TBRST

pub fn tacmp2(&self) -> BitReaderRaw<bool>

Bit 10 - TACMP2

pub fn tacmp1(&self) -> BitReaderRaw<bool>

Bit 9 - TACMP1

pub fn tarep(&self) -> BitReaderRaw<bool>

Bit 8 - TAREP

pub fn tarst(&self) -> BitReaderRaw<bool>

Bit 7 - TARST

pub fn mstcmp4(&self) -> BitReaderRaw<bool>

Bit 6 - MSTCMP4

pub fn mstcmp3(&self) -> BitReaderRaw<bool>

Bit 5 - MSTCMP3

pub fn mstcmp2(&self) -> BitReaderRaw<bool>

Bit 4 - MSTCMP2

pub fn mstcmp1(&self) -> BitReaderRaw<bool>

Bit 3 - MSTCMP1

pub fn mstrep(&self) -> BitReaderRaw<bool>

Bit 2 - MSTREP

pub fn mstrst(&self) -> BitReaderRaw<bool>

Bit 1 - MSTRST

pub fn sw(&self) -> BitReaderRaw<bool>

Bit 0 - SW

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

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

Reads raw bits from register.

Trait Implementations§

§

impl Deref for R

§

type Target = R<BMTRG_SPEC>

The resulting type after dereferencing.
§

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

Dereferences the value.
§

impl From<R<BMTRG_SPEC>> for R

§

fn from(reader: R<BMTRG_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> 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.