pub struct Casper { /* private fields */ }Expand description
LPC-Next0 CASPER
Implementations§
Source§impl Casper
impl Casper
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn ctrl1(self) -> Reg<Ctrl1, RW>
pub const fn ctrl1(self) -> Reg<Ctrl1, RW>
Contains the opcode mode, iteration count, and result offset (in RAM) and also launches the accelerator. Note: with CP version: CTRL0 and CRTL1 can be written in one go with MCRR.
Sourcepub const fn status(self) -> Reg<Status, RW>
pub const fn status(self) -> Reg<Status, RW>
Indicates operational status and would contain the carry bit if used.
Trait Implementations§
impl Copy for Casper
impl Eq for Casper
impl Send for Casper
impl StructuralPartialEq for Casper
impl Sync for Casper
Auto Trait Implementations§
impl Freeze for Casper
impl RefUnwindSafe for Casper
impl Unpin for Casper
impl UnwindSafe for Casper
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