Enum stm32_hal2::timer::CaptureCompareDma
source · [−]#[repr(u8)]
pub enum CaptureCompareDma {
Ccx,
Update,
}
Expand description
Capture/Compaer DMA selection.
Sets TIMx_CR2
register, CCDS
field.
Variants
Ccx
CCx DMA request sent when CCx event occur
Update
CCx DMA request sent when update event occurs
Trait Implementations
sourceimpl Clone for CaptureCompareDma
impl Clone for CaptureCompareDma
sourcefn clone(&self) -> CaptureCompareDma
fn clone(&self) -> CaptureCompareDma
Returns a copy of the value. Read more
1.0.0 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more