Enum stm32wlxx_hal::pac::lptim1::cfgr::COUNTMODE_A
pub enum COUNTMODE_A {
Internal = 0,
External = 1,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
COUNTMODE
Value on reset: 0
Variants§
Internal = 0
0: The counter is incremented following each internal clock pulse
External = 1
1: The counter is incremented following each valid clock pulse on the LPTIM external Input1
Trait Implementations§
§impl Clone for COUNTMODE_A
impl Clone for COUNTMODE_A
§fn clone(&self) -> COUNTMODE_A
fn clone(&self) -> COUNTMODE_A
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 more§impl Debug for COUNTMODE_A
impl Debug for COUNTMODE_A
§impl PartialEq for COUNTMODE_A
impl PartialEq for COUNTMODE_A
§fn eq(&self, other: &COUNTMODE_A) -> bool
fn eq(&self, other: &COUNTMODE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for COUNTMODE_A
impl StructuralPartialEq for COUNTMODE_A
Auto Trait Implementations§
impl RefUnwindSafe for COUNTMODE_A
impl Send for COUNTMODE_A
impl Sync for COUNTMODE_A
impl Unpin for COUNTMODE_A
impl UnwindSafe for COUNTMODE_A
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