pub struct Txd { /* private fields */ }Expand description
Unspecified
Implementations§
Source§impl Txd
impl Txd
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn amount(self) -> Reg<TxdAmount, R>
pub const fn amount(self) -> Reg<TxdAmount, R>
Number of bytes transferred in the last transaction, updated after the END event.
Sourcepub const fn currentamount(self) -> Reg<TxdCurrentamount, R>
pub const fn currentamount(self) -> Reg<TxdCurrentamount, R>
Number of bytes transferred in the current transaction
Sourcepub const fn terminateonbuserror(self) -> Reg<TxdTerminateonbuserror, RW>
pub const fn terminateonbuserror(self) -> Reg<TxdTerminateonbuserror, RW>
Terminate the transaction if a BUSERROR event is detected.
Sourcepub const fn buserroraddress(self) -> Reg<u32, R>
pub const fn buserroraddress(self) -> Reg<u32, R>
Address of transaction that generated the last BUSERROR event.
Trait Implementations§
impl Copy for Txd
impl Eq for Txd
impl Send for Txd
impl StructuralPartialEq for Txd
impl Sync for Txd
Auto Trait Implementations§
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)