pub struct W(_);
Expand description
Register CTRL1
writer
Implementations
sourceimpl W
impl W
sourcepub fn iter(&mut self) -> ITER_W<'_>
pub fn iter(&mut self) -> ITER_W<'_>
Bits 0:7 - Iteration counter. Is number_cycles - 1. write 0 means Does one cycle - does not iterate.
sourcepub fn mode(&mut self) -> MODE_W<'_>
pub fn mode(&mut self) -> MODE_W<'_>
Bits 8:15 - Operation mode to perform. write 0 means Accelerator is inactive. write others means accelerator is active.
sourcepub fn resbpair(&mut self) -> RESBPAIR_W<'_>
pub fn resbpair(&mut self) -> RESBPAIR_W<'_>
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)
sourcepub fn resoff(&mut self) -> RESOFF_W<'_>
pub fn resoff(&mut self) -> RESOFF_W<'_>
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
Methods from Deref<Target = W<CTRL1_SPEC>>
Trait Implementations
sourceimpl From<W<CTRL1_SPEC>> for W
impl From<W<CTRL1_SPEC>> for W
sourcefn from(writer: W<CTRL1_SPEC>) -> Self
fn from(writer: W<CTRL1_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more