Struct R

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

Register SYNCBUSY reader

Implementations§

Source§

impl R

Source

pub fn ctrl(&self) -> CTRL_R

Bit 0 - LESENSE_CTRL Register Busy

Source

pub fn timctrl(&self) -> TIMCTRL_R

Bit 1 - LESENSE_TIMCTRL Register Busy

Source

pub fn perctrl(&self) -> PERCTRL_R

Bit 2 - LESENSE_PERCTRL Register Busy

Source

pub fn decctrl(&self) -> DECCTRL_R

Bit 3 - LESENSE_DECCTRL Register Busy

Source

pub fn biasctrl(&self) -> BIASCTRL_R

Bit 4 - LESENSE_BIASCTRL Register Busy

Source

pub fn cmd(&self) -> CMD_R

Bit 5 - LESENSE_CMD Register Busy

Source

pub fn chen(&self) -> CHEN_R

Bit 6 - LESENSE_CHEN Register Busy

Source

pub fn scanres(&self) -> SCANRES_R

Bit 7 - LESENSE_SCANRES Register Busy

Source

pub fn status(&self) -> STATUS_R

Bit 8 - LESENSE_STATUS Register Busy

Source

pub fn ptr(&self) -> PTR_R

Bit 9 - LESENSE_PTR Register Busy

Source

pub fn bufdata(&self) -> BUFDATA_R

Bit 10 - LESENSE_BUFDATA Register Busy

Source

pub fn curch(&self) -> CURCH_R

Bit 11 - LESENSE_CURCH Register Busy

Source

pub fn decstate(&self) -> DECSTATE_R

Bit 12 - LESENSE_DECSTATE Register Busy

Source

pub fn sensorstate(&self) -> SENSORSTATE_R

Bit 13 - LESENSE_SENSORSTATE Register Busy

Source

pub fn idleconf(&self) -> IDLECONF_R

Bit 14 - LESENSE_IDLECONF Register Busy

Source

pub fn altexconf(&self) -> ALTEXCONF_R

Bit 15 - LESENSE_ALTEXCONF Register Busy

Source

pub fn route(&self) -> ROUTE_R

Bit 16 - LESENSE_ROUTE Register Busy

Source

pub fn powerdown(&self) -> POWERDOWN_R

Bit 17 - LESENSE_POWERDOWN Register Busy

Source

pub fn tconfa(&self) -> TCONFA_R

Bit 21 - LESENSE_STx_TCONFA Register Busy

Source

pub fn tconfb(&self) -> TCONFB_R

Bit 22 - LESENSE_STx_TCONFB Register Busy

Source

pub fn data(&self) -> DATA_R

Bit 23 - LESENSE_BUFx_DATA Register Busy

Source

pub fn timing(&self) -> TIMING_R

Bit 24 - LESENSE_CHx_TIMING Register Busy

Source

pub fn interact(&self) -> INTERACT_R

Bit 25 - LESENSE_CHx_INTERACT Register Busy

Source

pub fn eval(&self) -> EVAL_R

Bit 26 - LESENSE_CHx_EVAL Register Busy

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

Source

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

Reads raw bits from register.

Trait Implementations§

Source§

impl Deref for R

Source§

type Target = R<SYNCBUSY_SPEC>

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl From<R<SYNCBUSY_SPEC>> for R

Source§

fn from(reader: R<SYNCBUSY_SPEC>) -> Self

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

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

Source§

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.