pub struct Result { /* private fields */ }
Expand description
RESULT EasyDMA channel
Implementations§
Source§impl Result
impl Result
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn amount(self) -> Reg<Amount, R>
pub const fn amount(self) -> Reg<Amount, R>
Number of buffer bytes transferred since last START, updated after the END or STOPPED events
Sourcepub const fn currentamount(self) -> Reg<Currentamount, R>
pub const fn currentamount(self) -> Reg<Currentamount, R>
Number of buffer bytes transferred since last START, continuously updated
Trait Implementations§
impl Copy for Result
impl Eq for Result
impl Send for Result
impl StructuralPartialEq for Result
impl Sync for Result
Auto Trait Implementations§
impl Freeze for Result
impl RefUnwindSafe for Result
impl Unpin for Result
impl UnwindSafe for Result
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)