[][src]Struct imxrt1062_kpp::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u16, Reg<u16, _KPCR>>[src]

pub fn kre(&mut self) -> KRE_W[src]

Bits 0:7 - Keypad Row Enable

pub fn kco(&mut self) -> KCO_W[src]

Bits 8:15 - Keypad Column Strobe Open-Drain Enable

impl W<u16, Reg<u16, _KPSR>>[src]

pub fn kpkd(&mut self) -> KPKD_W[src]

Bit 0 - Keypad Key Depress

pub fn kpkr(&mut self) -> KPKR_W[src]

Bit 1 - Keypad Key Release

pub fn kdsc(&mut self) -> KDSC_W[src]

Bit 2 - Key Depress Synchronizer Clear

pub fn krss(&mut self) -> KRSS_W[src]

Bit 3 - Key Release Synchronizer Set

pub fn kdie(&mut self) -> KDIE_W[src]

Bit 8 - Keypad Key Depress Interrupt Enable

pub fn krie(&mut self) -> KRIE_W[src]

Bit 9 - Keypad Release Interrupt Enable

impl W<u16, Reg<u16, _KDDR>>[src]

pub fn krdd(&mut self) -> KRDD_W[src]

Bits 0:7 - Keypad Row Data Direction

pub fn kcdd(&mut self) -> KCDD_W[src]

Bits 8:15 - Keypad Column Data Direction Register

impl W<u16, Reg<u16, _KPDR>>[src]

pub fn krd(&mut self) -> KRD_W[src]

Bits 0:7 - Keypad Row Data

pub fn kcd(&mut self) -> KCD_W[src]

Bits 8:15 - Keypad Column Data

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.