#[repr(u8)]pub enum Dma {
NO_DMA = 0,
NO_SEPARATE_ATTRIBUTE = 1,
SEPARATE_ATTRIBUTE = 2,
_RESERVED_3 = 3,
}
Variants§
NO_DMA = 0
Peripheral has no DMA capability
NO_SEPARATE_ATTRIBUTE = 1
Peripheral has DMA and DMA transfers always have the same security attribute as assigned to the peripheral
SEPARATE_ATTRIBUTE = 2
Peripheral has DMA and DMA transfers can have a different security attribute than the one assigned to the peripheral
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Ord for Dma
impl Ord for Dma
Source§impl PartialOrd for Dma
impl PartialOrd for Dma
impl Copy for Dma
impl Eq for Dma
impl StructuralPartialEq for Dma
Auto Trait Implementations§
impl Freeze for Dma
impl RefUnwindSafe for Dma
impl Send for Dma
impl Sync for Dma
impl Unpin for Dma
impl UnwindSafe for Dma
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
)