pub enum Dmaen {
Dmaen0 = 0,
Dmaen1 = 1,
}Expand description
DMA Enable
Value on reset: 0
Variants§
Dmaen0 = 0
0: DMA is disabled
Dmaen1 = 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.
Trait Implementations§
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 UnsafeUnpin 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