pub struct TransferErrorRaw(/* private fields */);Expand description
Raw transfer error bits. Can be queried or all errors can be iterated over
Implementations§
Source§impl TransferErrorRaw
impl TransferErrorRaw
Sourcepub fn err_iter(self) -> TransferErrorRawIter ⓘ
pub fn err_iter(self) -> TransferErrorRawIter ⓘ
Convert to an iterator of contained errors
Sourcepub fn has_destination_bus_err(&self) -> bool
pub fn has_destination_bus_err(&self) -> bool
Destination Bus Error
Sourcepub fn has_source_bus_err(&self) -> bool
pub fn has_source_bus_err(&self) -> bool
Source Bus Error
Sourcepub fn has_scatter_gather_configuration_err(&self) -> bool
pub fn has_scatter_gather_configuration_err(&self) -> bool
Indicates that TCDn_DLAST_SGA is not on a 32-byte boundary. This field is
checked at the beginning of a scatter/gather operation after major loop completion
if TCDn_CSR[ESG] is enabled.
Sourcepub fn has_nbytes_citer_configuration_err(&self) -> bool
pub fn has_nbytes_citer_configuration_err(&self) -> bool
This error indicates that one of the following has occurred:
TCDn_NBYTESis not a multiple ofTCDn_ATTR[SSIZE]andTCDn_ATTR[DSIZE]TCDn_CITER[CITER]is equal to zeroTCDn_CITER[ELINK]is not equal toTCDn_BITER[ELINK]
Sourcepub fn has_destination_offset_err(&self) -> bool
pub fn has_destination_offset_err(&self) -> bool
TCDn_DOFF is inconsistent with TCDn_ATTR[DSIZE].
Sourcepub fn has_destination_address_err(&self) -> bool
pub fn has_destination_address_err(&self) -> bool
TCDn_DADDR is inconsistent with TCDn_ATTR[DSIZE].
Sourcepub fn has_source_offset_err(&self) -> bool
pub fn has_source_offset_err(&self) -> bool
TCDn_SOFF is inconsistent with TCDn_ATTR[SSIZE].
Sourcepub fn has_source_address_err(&self) -> bool
pub fn has_source_address_err(&self) -> bool
TCDn_SADDR is inconsistent with TCDn_ATTR[SSIZE]
Trait Implementations§
Source§impl Clone for TransferErrorRaw
impl Clone for TransferErrorRaw
Source§fn clone(&self) -> TransferErrorRaw
fn clone(&self) -> TransferErrorRaw
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransferErrorRaw
impl Debug for TransferErrorRaw
Source§impl Format for TransferErrorRaw
impl Format for TransferErrorRaw
impl Copy for TransferErrorRaw
Auto Trait Implementations§
impl Freeze for TransferErrorRaw
impl RefUnwindSafe for TransferErrorRaw
impl Send for TransferErrorRaw
impl Sync for TransferErrorRaw
impl Unpin for TransferErrorRaw
impl UnwindSafe for TransferErrorRaw
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