#[non_exhaustive]pub enum I2sParallelInterrupt {
Done,
Eof,
DescriptorError,
TotalEof,
}unstable only.Expand description
Interrupts from the I2S parallel peripheral.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Done
The DMA finishes the out descriptor chain (OUT_DONE).
Eof
The DMA uses a descriptor with the suc_eof flag set (OUT_EOF).
The peripheral sets the OUT_EOF flag for every descriptor with suc_eof set. This interrupt also works on a circular DMA chain. On a circular chain, the transfer does not end. The peripheral does not set OUT_TOTAL_EOF on a circular chain.
DescriptorError
The DMA gets a descriptor with an error (OUT_DSCR_ERR).
TotalEof
The DMA sends all the data of the transfer (OUT_TOTAL_EOF).
On a circular DMA chain, the transfer does not end. The peripheral does
not set OUT_TOTAL_EOF on a circular chain. Use Self::Eof with a
circular chain.
Trait Implementations§
Source§impl<O: Into<EnumSet<I2sParallelInterrupt>>> BitAnd<O> for I2sParallelInterrupt
impl<O: Into<EnumSet<I2sParallelInterrupt>>> BitAnd<O> for I2sParallelInterrupt
Source§impl<O: Into<EnumSet<I2sParallelInterrupt>>> BitOr<O> for I2sParallelInterrupt
impl<O: Into<EnumSet<I2sParallelInterrupt>>> BitOr<O> for I2sParallelInterrupt
Source§impl<O: Into<EnumSet<I2sParallelInterrupt>>> BitXor<O> for I2sParallelInterrupt
impl<O: Into<EnumSet<I2sParallelInterrupt>>> BitXor<O> for I2sParallelInterrupt
Source§impl Clone for I2sParallelInterrupt
impl Clone for I2sParallelInterrupt
impl Copy for I2sParallelInterrupt
Source§impl Debug for I2sParallelInterrupt
impl Debug for I2sParallelInterrupt
Source§impl EnumSetConstHelper for I2sParallelInterrupt
impl EnumSetConstHelper for I2sParallelInterrupt
Source§const CONST_INIT_HELPER: __EnumSetInitHelper = __EnumSetInitHelper
const CONST_INIT_HELPER: __EnumSetInitHelper = __EnumSetInitHelper
ConstInitHelper.Source§const CONST_OP_HELPER: __EnumSetOpHelper = __EnumSetOpHelper
const CONST_OP_HELPER: __EnumSetOpHelper = __EnumSetOpHelper
ConstOpHelper.Source§type ConstInitHelper = __EnumSetInitHelper
type ConstInitHelper = __EnumSetInitHelper
Source§type ConstOpHelper = __EnumSetOpHelper
type ConstOpHelper = __EnumSetOpHelper
impl EnumSetType for I2sParallelInterrupt
Source§impl EnumSetTypePrivate for I2sParallelInterrupt
impl EnumSetTypePrivate for I2sParallelInterrupt
Source§const ALL_BITS: <Self as EnumSetTypePrivate>::Repr = 15
const ALL_BITS: <Self as EnumSetTypePrivate>::Repr = 15
Source§const VARIANT_COUNT: u32 = 4u32
const VARIANT_COUNT: u32 = 4u32
Source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Source§unsafe fn enum_from_u32_checked(val: u32) -> Self
unsafe fn enum_from_u32_checked(val: u32) -> Self
impl Eq for I2sParallelInterrupt
Source§impl Not for I2sParallelInterrupt
impl Not for I2sParallelInterrupt
Source§impl PartialEq for I2sParallelInterrupt
impl PartialEq for I2sParallelInterrupt
Source§impl PartialEq<EnumSet<I2sParallelInterrupt>> for I2sParallelInterrupt
impl PartialEq<EnumSet<I2sParallelInterrupt>> for I2sParallelInterrupt
Source§impl<O: Into<EnumSet<I2sParallelInterrupt>>> Sub<O> for I2sParallelInterrupt
impl<O: Into<EnumSet<I2sParallelInterrupt>>> Sub<O> for I2sParallelInterrupt
Auto Trait Implementations§
impl Freeze for I2sParallelInterrupt
impl RefUnwindSafe for I2sParallelInterrupt
impl Send for I2sParallelInterrupt
impl Sync for I2sParallelInterrupt
impl Unpin for I2sParallelInterrupt
impl UnsafeUnpin for I2sParallelInterrupt
impl UnwindSafe for I2sParallelInterrupt
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)