Enum stm32_hal2::timer::CaptureCompareDma
source · #[repr(u8)]pub enum CaptureCompareDma {
Ccx = 0,
Update = 1,
}
Expand description
Capture/Compaer DMA selection.
Sets TIMx_CR2
register, CCDS
field.
Variants§
Ccx = 0
CCx DMA request sent when CCx event occur
Update = 1
CCx DMA request sent when update event occurs
Trait Implementations§
source§impl Clone for CaptureCompareDma
impl Clone for CaptureCompareDma
source§fn clone(&self) -> CaptureCompareDma
fn clone(&self) -> CaptureCompareDma
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for CaptureCompareDma
Auto Trait Implementations§
impl RefUnwindSafe for CaptureCompareDma
impl Send for CaptureCompareDma
impl Sync for CaptureCompareDma
impl Unpin for CaptureCompareDma
impl UnwindSafe for CaptureCompareDma
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