[][src]Enum lpc55_hal::peripherals::casper::Operations

[]
pub enum Operations {
    Mul6464NoSum,
    Mul6464Sum,
    Mul6464FullSum,
    Mul6464Reduce,
    Add64,
    Sub64,
    Double64,
    Xor64,
    ShiftLeft32,
    ShiftRight32,
    Copy,
    Remask,
    Compare,
    CompareFast,
}

Variants

Mul6464NoSum
[]

Walking 1 or more of J loop, doing r=a*b using 64x64=128

Mul6464Sum
[]

Walking 1 or more of J loop, doing c,r=r+a*b using 64x64=128, but assume inner j loop

Mul6464FullSum
[]

Walking 1 or more of J loop, doing c,r=r+a*b using 64x64=128, but sum all of w.

Mul6464Reduce
[]

Walking 1 or more of J loop, doing c,r[-1]=r+a*b using 64x64=128, but skip 1st write

Add64
[]

Walking add with off_AB, and in/out off_RES doing c,r=r+a+c using 64+64=65

Sub64
[]

Walking subtract with off_AB, and in/out off_RES doing r=r-a uding 64-64=64, with last borrow implicit if any

Double64
[]

Walking add to self with off_RES doing c,r=r+r+c using 64+64=65

Xor64
[]

Walking XOR with off_AB, and in/out off_RES doing r=r^a using 64^64=64

ShiftLeft32
[]

Walking shift left doing r1,r=(b*D)|r1, where D is 2^amt and is loaded by app (off_CD not used)

ShiftRight32
[]

Walking shift right doing r,r1=(b*D)|r1, where D is 2^(32-amt) and is loaded by app (off_CD not used) and off_RES starts at MSW

Copy
[]

Copy from ABoff to resoff, 64b at a time

Remask
[]

Copy and mask from ABoff to resoff, 64b at a time

Compare
[]

Compare two arrays, running all the way to the end

CompareFast
[]

Compare two arrays, stopping on 1st !=^

Auto Trait Implementations

impl Send for Operations

impl Sync for Operations

impl Unpin for Operations

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> Same<T> for T[src]

type Output = T

Should always be Self

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.