pub struct Interp1 { /* private fields */ }Expand description
Interpolator Interp1
Implementations§
Source§impl Interp1
impl Interp1
Sourcepub fn get_lane0(&mut self) -> &mut Interp1Lane0
pub fn get_lane0(&mut self) -> &mut Interp1Lane0
Lane accessor function
Sourcepub fn get_lane1(&mut self) -> &mut Interp1Lane1
pub fn get_lane1(&mut self) -> &mut Interp1Lane1
Lane accessor function
Trait Implementations§
Source§impl Interp for Interp1
impl Interp for Interp1
Source§fn pop(&mut self) -> u32
fn pop(&mut self) -> u32
Read the interpolator result (Result 2 in the datasheet), and simultaneously write lane results to both accumulators.
Source§fn peek(&self) -> u32
fn peek(&self) -> u32
Read the interpolator result (Result 2 in the datasheet) without altering any internal state
Source§fn set_base(&mut self, v: u32)
fn set_base(&mut self, v: u32)
Write to the interpolator Base register (Base2 in the datasheet)
Source§fn set_base_1and0(&mut self, v: u32)
fn set_base_1and0(&mut self, v: u32)
Write the lower 16 bits to BASE0 and the upper bits to BASE1 simultaneously. Each half is sign-extended to 32 bits if that lane’s SIGNED flag is set
Auto Trait Implementations§
impl Freeze for Interp1
impl RefUnwindSafe for Interp1
impl Send for Interp1
impl Sync for Interp1
impl Unpin for Interp1
impl UnwindSafe for Interp1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more