Struct mk20d7::tsi0::pen::W

source ·
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

source§

impl W

source

pub fn reset_value() -> W

Reset value of the register

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register

source

pub fn pen0(&mut self) -> _PEN0W<'_>

Bit 0 - Touch Sensing Input Pin Enable Register 0

source

pub fn pen1(&mut self) -> _PEN1W<'_>

Bit 1 - Touch Sensing Input Pin Enable Register 1

source

pub fn pen2(&mut self) -> _PEN2W<'_>

Bit 2 - Touch Sensing Input Pin Enable Register 2

source

pub fn pen3(&mut self) -> _PEN3W<'_>

Bit 3 - Touch Sensing Input Pin Enable Register 3

source

pub fn pen4(&mut self) -> _PEN4W<'_>

Bit 4 - Touch Sensing Input Pin Enable Register 4

source

pub fn pen5(&mut self) -> _PEN5W<'_>

Bit 5 - Touch Sensing Input Pin Enable Register 5

source

pub fn pen6(&mut self) -> _PEN6W<'_>

Bit 6 - Touch Sensing Input Pin Enable Register 6

source

pub fn pen7(&mut self) -> _PEN7W<'_>

Bit 7 - Touch Sensing Input Pin Enable Register 7

source

pub fn pen8(&mut self) -> _PEN8W<'_>

Bit 8 - Touch Sensing Input Pin Enable Register 8

source

pub fn pen9(&mut self) -> _PEN9W<'_>

Bit 9 - Touch Sensing Input Pin Enable Register 9

source

pub fn pen10(&mut self) -> _PEN10W<'_>

Bit 10 - Touch Sensing Input Pin Enable Register 10

source

pub fn pen11(&mut self) -> _PEN11W<'_>

Bit 11 - Touch Sensing Input Pin Enable Register 11

source

pub fn pen12(&mut self) -> _PEN12W<'_>

Bit 12 - Touch Sensing Input Pin Enable Register 12

source

pub fn pen13(&mut self) -> _PEN13W<'_>

Bit 13 - Touch Sensing Input Pin Enable Register 13

source

pub fn pen14(&mut self) -> _PEN14W<'_>

Bit 14 - Touch Sensing Input Pin Enable Register 14

source

pub fn pen15(&mut self) -> _PEN15W<'_>

Bit 15 - Touch Sensing Input Pin Enable Register 15

source

pub fn lpsp(&mut self) -> _LPSPW<'_>

Bits 16:19 - Low Power Scan Pin

Auto Trait Implementations§

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.