#[repr(u8)]
pub enum PRSCLEARMODE_A {
NONE,
RISING,
FALLING,
BOTH,
}
Expand description
PRS Clear Mode
Value on reset: 0
Variants§
NONE
0: PRS cannot clear the LETIMER
RISING
1: Rising edge of selected PRS input can clear the LETIMER
FALLING
2: Falling edge of selected PRS input can clear the LETIMER
BOTH
3: Both the rising or falling edge of the selected PRS input can clear the LETIMER
Trait Implementations§
source§impl Clone for PRSCLEARMODE_A
impl Clone for PRSCLEARMODE_A
source§fn clone(&self) -> PRSCLEARMODE_A
fn clone(&self) -> PRSCLEARMODE_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 moresource§impl Debug for PRSCLEARMODE_A
impl Debug for PRSCLEARMODE_A
source§impl From<PRSCLEARMODE_A> for u8
impl From<PRSCLEARMODE_A> for u8
source§fn from(variant: PRSCLEARMODE_A) -> Self
fn from(variant: PRSCLEARMODE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<PRSCLEARMODE_A> for PRSCLEARMODE_A
impl PartialEq<PRSCLEARMODE_A> for PRSCLEARMODE_A
source§fn eq(&self, other: &PRSCLEARMODE_A) -> bool
fn eq(&self, other: &PRSCLEARMODE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.