pub struct Dfepacket { /* private fields */ }Expand description
DFE packet EasyDMA channel.
Implementations§
Source§impl Dfepacket
impl Dfepacket
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn maxcnt(self) -> Reg<DfepacketMaxcnt, RW>
pub const fn maxcnt(self) -> Reg<DfepacketMaxcnt, RW>
Maximum number of bytes to transfer.
Sourcepub const fn amount(self) -> Reg<DfepacketAmount, R>
pub const fn amount(self) -> Reg<DfepacketAmount, R>
Number of bytes transferred in the last transaction.
Sourcepub const fn currentamount(self) -> Reg<Currentamount, R>
pub const fn currentamount(self) -> Reg<Currentamount, R>
Number of bytes transferred in the current transaction.
Trait Implementations§
impl Copy for Dfepacket
impl Eq for Dfepacket
impl Send for Dfepacket
impl StructuralPartialEq for Dfepacket
impl Sync for Dfepacket
Auto Trait Implementations§
impl Freeze for Dfepacket
impl RefUnwindSafe for Dfepacket
impl Unpin for Dfepacket
impl UnwindSafe for Dfepacket
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