Struct rp2040_pac2::sio::Interp[][src]

pub struct Interp(pub *mut u8);

Implementations

impl Interp[src]

pub fn accum0(self) -> Reg<u32, RW>[src]

Read/write access to accumulator 0

pub fn accum1(self) -> Reg<u32, RW>[src]

Read/write access to accumulator 1

pub fn base0(self) -> Reg<u32, RW>[src]

Read/write access to BASE0 register.

pub fn base1(self) -> Reg<u32, RW>[src]

Read/write access to BASE1 register.

pub fn base2(self) -> Reg<u32, RW>[src]

Read/write access to BASE2 register.

pub fn pop_lane0(self) -> Reg<u32, R>[src]

Read LANE0 result, and simultaneously write lane results to both accumulators (POP).

pub fn pop_lane1(self) -> Reg<u32, R>[src]

Read LANE1 result, and simultaneously write lane results to both accumulators (POP).

pub fn pop_full(self) -> Reg<u32, R>[src]

Read FULL result, and simultaneously write lane results to both accumulators (POP).

pub fn peek_lane0(self) -> Reg<u32, R>[src]

Read LANE0 result, without altering any internal state (PEEK).

pub fn peek_lane1(self) -> Reg<u32, R>[src]

Read LANE1 result, without altering any internal state (PEEK).

pub fn peek_full(self) -> Reg<u32, R>[src]

Read FULL result, without altering any internal state (PEEK).

pub fn ctrl_lane0(self) -> Reg<Interp0CtrlLane0, RW>[src]

Control register for lane 0

pub fn ctrl_lane1(self) -> Reg<Interp0CtrlLane1, RW>[src]

Control register for lane 1

pub fn accum0_add(self) -> Reg<Interp0Accum0Add, RW>[src]

Values written here are atomically added to ACCUM0 Reading yields lane 0’s raw shift and mask value (BASE0 not added).

pub fn accum1_add(self) -> Reg<Interp0Accum1Add, RW>[src]

Values written here are atomically added to ACCUM1 Reading yields lane 1’s raw shift and mask value (BASE1 not added).

pub fn base_1and0(self) -> Reg<u32, RW>[src]

On write, the lower 16 bits go to BASE0, upper bits to BASE1 simultaneously. Each half is sign-extended to 32 bits if that lane’s SIGNED flag is set.

Trait Implementations

impl Clone for Interp[src]

impl Copy for Interp[src]

impl Send for Interp[src]

impl Sync for Interp[src]

Auto Trait Implementations

impl Unpin for Interp

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.