#[repr(u8)]pub enum CaptureMode {
InputCapture = 1,
InvChannelInputCapture = 2,
}
Expand description
Capture mode Enum for configuring the mode of the Capture channels (CC1S, CC2S, CC3S, CC4S). Defines how each channel is used in Input Capture mode, considering TI1, TI2, TI3, and TI4.
Variants§
InputCapture = 1
Input Capture on the corresponding channel (e.g., CC1 -> TI1, CC2 -> TI2, etc.).
InvChannelInputCapture = 2
Input Capture on the inverted channel (e.g., CC1 -> TI2, CC2 -> TI1, CC3 -> TI4, CC4 -> TI3).
Trait Implementations§
Source§impl Clone for CaptureMode
impl Clone for CaptureMode
Source§fn clone(&self) -> CaptureMode
fn clone(&self) -> CaptureMode
Returns a duplicate 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 moreSource§impl Debug for CaptureMode
impl Debug for CaptureMode
Source§impl Format for CaptureMode
impl Format for CaptureMode
Source§impl PartialEq for CaptureMode
impl PartialEq for CaptureMode
impl Copy for CaptureMode
impl Eq for CaptureMode
impl StructuralPartialEq for CaptureMode
Auto Trait Implementations§
impl Freeze for CaptureMode
impl RefUnwindSafe for CaptureMode
impl Send for CaptureMode
impl Sync for CaptureMode
impl Unpin for CaptureMode
impl UnwindSafe for CaptureMode
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