pub struct Interp0 { /* private fields */ }Expand description
Interpolator Interp0
Implementations§
Source§impl Interp0
impl Interp0
Sourcepub fn get_lane0(&mut self) -> &mut Interp0Lane0
pub fn get_lane0(&mut self) -> &mut Interp0Lane0
Lane accessor function
Sourcepub fn get_lane1(&mut self) -> &mut Interp0Lane1
pub fn get_lane1(&mut self) -> &mut Interp0Lane1
Lane accessor function
Trait Implementations§
Source§impl Interp for Interp0
impl Interp for Interp0
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 Interp0
impl RefUnwindSafe for Interp0
impl Send for Interp0
impl Sync for Interp0
impl Unpin for Interp0
impl UnwindSafe for Interp0
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