Enum stm32_hal2::timer::CaptureCompare
source · [−]#[repr(u8)]
pub enum CaptureCompare {
Output,
InputTi1,
InputTi2,
InputTrc,
}
Expand description
Capture/Compare selection. This field defines the direction of the channel (input/output) as well as the used input. It affects the TIMx_CCMR1 register, CCxS fields.
Variants
Output
InputTi1
InputTi2
InputTrc
Trait Implementations
sourceimpl Clone for CaptureCompare
impl Clone for CaptureCompare
sourcefn clone(&self) -> CaptureCompare
fn clone(&self) -> CaptureCompare
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 CaptureCompare
Auto Trait Implementations
impl RefUnwindSafe for CaptureCompare
impl Send for CaptureCompare
impl Sync for CaptureCompare
impl Unpin for CaptureCompare
impl UnwindSafe for CaptureCompare
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