#[repr(u8)]pub enum Dmaen {
DMAEN_0 = 0,
DMAEN_1 = 1,
}Variants§
DMAEN_0 = 0
DMA is disabled
DMAEN_1 = 1
DMA is enabled. DMA request asserts automatically when the values in the outer-set of buffered compare registers (UCOMP0/LCOMP0;UCOMP1/LCOMP1;UCOMP2/LCOMP2;UCOMP3/LCOMP3), initial registers(UINIT/LINIT) and modulus registers (UMOD/LMOD) are loaded into the inner-set of buffer and then LDOK is cleared automatically. After the completion of this DMA transfer, LDOK is set automatically, it ensures outer-set values can be loaded into inner-set which in turn triggers DMA again.
Implementations§
Trait Implementations§
Source§impl Ord for Dmaen
impl Ord for Dmaen
Source§impl PartialOrd for Dmaen
impl PartialOrd for Dmaen
impl Copy for Dmaen
impl Eq for Dmaen
impl StructuralPartialEq for Dmaen
Auto Trait Implementations§
impl Freeze for Dmaen
impl RefUnwindSafe for Dmaen
impl Send for Dmaen
impl Sync for Dmaen
impl Unpin for Dmaen
impl UnwindSafe for Dmaen
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