[][src]Struct lpc55s6x_pac::casper::ctrl1::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 iter(&mut self) -> _ITERW[src]

Bits 0:7 - Iteration counter. Is number_cycles - 1. write 0 means Does one cycle - does not iterate.

pub fn mode(&mut self) -> _MODEW[src]

Bits 8:15 - Operation mode to perform. write 0 means Accelerator is inactive. write others means accelerator is active.

pub fn resbpair(&mut self) -> _RESBPAIRW[src]

Bit 16 - Which bank-pair the offset RESOFF is within. This must be 0 if only 2-up. Ideally this is not the same bank as ABBPAIR (when 4-up supported)

pub fn resoff(&mut self) -> _RESOFFW[src]

Bits 18:28 - Word or DWord Offset of result. Word offset only allowed if 32 bit operation. Ideally not in the same RAM as the AB and CD values

pub fn cskip(&mut self) -> _CSKIPW[src]

Bits 30:31 - Skip rules on Carry if needed. This operation will be skipped based on Carry value (from previous operation) if not 0:

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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

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

type Output = T

Should always be Self