Enum stm32_metapac::cordic::vals::Func
#[repr(u8)]pub enum Func {
Show 16 variants
COSINE = 0,
SINE = 1,
PHASE = 2,
MODULUS = 3,
ARCTANGENT = 4,
HYPERBOLICCOSINE = 5,
HYPERBOLICSINE = 6,
ARCTANH = 7,
NATURALLOGARITHM = 8,
SQUAREROOT = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
COSINE = 0
Cosine function.
SINE = 1
Sine function.
PHASE = 2
Phase function.
MODULUS = 3
Modulus function.
ARCTANGENT = 4
Arctangent function.
HYPERBOLICCOSINE = 5
Hyperbolic Cosine function.
HYPERBOLICSINE = 6
Hyperbolic Sine function.
ARCTANH = 7
Arctanh function.
NATURALLOGARITHM = 8
Natural Logarithm function.
SQUAREROOT = 9
Square Root function.
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
§impl Ord for Func
impl Ord for Func
§impl PartialOrd for Func
impl PartialOrd for Func
§fn partial_cmp(&self, other: &Func) -> Option<Ordering>
fn partial_cmp(&self, other: &Func) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Func
impl Eq for Func
impl StructuralEq for Func
impl StructuralPartialEq for Func
Auto Trait Implementations§
impl RefUnwindSafe for Func
impl Send for Func
impl Sync for Func
impl Unpin for Func
impl UnwindSafe for Func
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