pub struct R(/* private fields */);Expand description
Register TOUCH reader
Implementations§
Source§impl R
impl R
Sourcepub fn count(&self) -> COUNT_R
pub fn count(&self) -> COUNT_R
Bits 0:11 - Count value reached at trigger. If timeout, will be (1 bigger than TOUT)-1; e.g. if TOUT=12, then 0xFFF.
Sourcepub fn xval(&self) -> XVAL_R
pub fn xval(&self) -> XVAL_R
Bits 12:15 - Is the X that triggered this, or lowest X if more than one.
Methods from Deref<Target = R<TOUCH_SPEC>>§
Trait Implementations§
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more