[][src]Struct lpc176x_5x::qei::set::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

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

Writes raw bits to the register

pub fn inx_int(&mut self) -> _INX_INTW[src]

Bit 0 - Writing a 1 sets the INX_Int bit in QEIINTSTAT.

pub fn tim_int(&mut self) -> _TIM_INTW[src]

Bit 1 - Writing a 1 sets the TIN_Int bit in QEIINTSTAT.

pub fn velc_int(&mut self) -> _VELC_INTW[src]

Bit 2 - Writing a 1 sets the VELC_Int bit in QEIINTSTAT.

pub fn dir_int(&mut self) -> _DIR_INTW[src]

Bit 3 - Writing a 1 sets the DIR_Int bit in QEIINTSTAT.

pub fn err_int(&mut self) -> _ERR_INTW[src]

Bit 4 - Writing a 1 sets the ERR_Int bit in QEIINTSTAT.

pub fn enclk_int(&mut self) -> _ENCLK_INTW[src]

Bit 5 - Writing a 1 sets the ENCLK_Int bit in QEIINTSTAT.

pub fn pos0_int(&mut self) -> _POS0_INTW[src]

Bit 6 - Writing a 1 sets the POS0_Int bit in QEIINTSTAT.

pub fn pos1_int(&mut self) -> _POS1_INTW[src]

Bit 7 - Writing a 1 sets the POS1_Int bit in QEIINTSTAT.

pub fn pos2_int(&mut self) -> _POS2_INTW[src]

Bit 8 - Writing a 1 sets the POS2_Int bit in QEIINTSTAT.

pub fn rev0_int(&mut self) -> _REV0_INTW[src]

Bit 9 - Writing a 1 sets the REV0_Int bit in QEIINTSTAT.

pub fn pos0rev_int(&mut self) -> _POS0REV_INTW[src]

Bit 10 - Writing a 1 sets the POS0REV_Int bit in QEIINTSTAT.

pub fn pos1rev_int(&mut self) -> _POS1REV_INTW[src]

Bit 11 - Writing a 1 sets the POS1REV_Int bit in QEIINTSTAT.

pub fn pos2rev_int(&mut self) -> _POS2REV_INTW[src]

Bit 12 - Writing a 1 sets the POS2REV_Int bit in QEIINTSTAT.

pub fn rev1_int(&mut self) -> _REV1_INTW[src]

Bit 13 - Writing a 1 sets the REV1_Int bit in QEIINTSTAT.

pub fn rev2_int(&mut self) -> _REV2_INTW[src]

Bit 14 - Writing a 1 sets the REV2_Int bit in QEIINTSTAT.

pub fn maxpos_int(&mut self) -> _MAXPOS_INTW[src]

Bit 15 - Writing a 1 sets the MAXPOS_Int bit in QEIINTSTAT.

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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