Enum esp32c2_hal::dma::DmaError
source · pub enum DmaError {
InvalidAlignment,
OutOfDescriptors,
InvalidDescriptorSize,
DescriptorError,
Overflow,
Exhausted,
BufferTooSmall,
}
Expand description
DMA Errors
Variants§
InvalidAlignment
OutOfDescriptors
InvalidDescriptorSize
DescriptorError
DescriptorError the DMA rejected the descriptor configuration. This
could be because the source address of the data is not in RAM. Ensure
your source data is in a valid address space, or try using
crate::FlashSafeDma
wrapper.
Overflow
Exhausted
BufferTooSmall
Trait Implementations§
source§impl PartialEq for DmaError
impl PartialEq for DmaError
impl Copy for DmaError
impl StructuralPartialEq for DmaError
Auto Trait Implementations§
impl RefUnwindSafe for DmaError
impl Send for DmaError
impl Sync for DmaError
impl Unpin for DmaError
impl UnwindSafe for DmaError
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