Enum gd32f1x0_hal::pac::timer14::chctl0_input::CH0CAPPSC_A
source · [−]#[repr(u8)]
pub enum CH0CAPPSC_A {
DIV1,
DIV2,
DIV4,
DIV8,
}
Expand description
Channel 0 input capture prescaler
Value on reset: 0
Variants
DIV1
0: Prescaler disabled, capture on every edge
DIV2
1: Capture every 2 edges
DIV4
2: Capture every 4 edges
DIV8
3: Capture every 8 edges
Trait Implementations
sourceimpl Clone for CH0CAPPSC_A
impl Clone for CH0CAPPSC_A
sourcefn clone(&self) -> CH0CAPPSC_A
fn clone(&self) -> CH0CAPPSC_A
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 more
sourceimpl Debug for CH0CAPPSC_A
impl Debug for CH0CAPPSC_A
sourceimpl PartialEq<CH0CAPPSC_A> for CH0CAPPSC_A
impl PartialEq<CH0CAPPSC_A> for CH0CAPPSC_A
impl Copy for CH0CAPPSC_A
impl StructuralPartialEq for CH0CAPPSC_A
Auto Trait Implementations
impl RefUnwindSafe for CH0CAPPSC_A
impl Send for CH0CAPPSC_A
impl Sync for CH0CAPPSC_A
impl Unpin for CH0CAPPSC_A
impl UnwindSafe for CH0CAPPSC_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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