#[repr(u8)]pub enum VbatAlphaEnumCharlie {
Val0 = 0,
Val1 = 1,
Val2 = 2,
Val3 = 3,
}Variants§
Val0 = 0
Default (when CAP2_TRIM = 0 and CAP_TRIM[1:0] = 00 ).
Val1 = 1
-1us (when CAP2_TRIM = 0 and CAP_TRIM[1:0] = 01).
Val2 = 2
-2us (when CAP2_TRIM = 0 and CAP_TRIM[1:0] = 10) or or +3.5us (when CAP2_TRIM = 1 and CAP_TRIM[1:0] = 10).
Val3 = 3
-2.5us (when CAP2_TRIM = 0 and CAP_TRIM[1:0] = 11) or +1us (when CAP2_TRIM = 1 and CAP_TRIM[1:0] = 11).
Implementations§
Trait Implementations§
Source§impl Clone for VbatAlphaEnumCharlie
impl Clone for VbatAlphaEnumCharlie
Source§fn clone(&self) -> VbatAlphaEnumCharlie
fn clone(&self) -> VbatAlphaEnumCharlie
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 From<VbatAlphaEnumCharlie> for u8
impl From<VbatAlphaEnumCharlie> for u8
Source§fn from(val: VbatAlphaEnumCharlie) -> u8
fn from(val: VbatAlphaEnumCharlie) -> u8
Converts to this type from the input type.
Source§impl From<u8> for VbatAlphaEnumCharlie
impl From<u8> for VbatAlphaEnumCharlie
Source§fn from(val: u8) -> VbatAlphaEnumCharlie
fn from(val: u8) -> VbatAlphaEnumCharlie
Converts to this type from the input type.
Source§impl Ord for VbatAlphaEnumCharlie
impl Ord for VbatAlphaEnumCharlie
Source§fn cmp(&self, other: &VbatAlphaEnumCharlie) -> Ordering
fn cmp(&self, other: &VbatAlphaEnumCharlie) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VbatAlphaEnumCharlie
impl PartialEq for VbatAlphaEnumCharlie
Source§impl PartialOrd for VbatAlphaEnumCharlie
impl PartialOrd for VbatAlphaEnumCharlie
impl Copy for VbatAlphaEnumCharlie
impl Eq for VbatAlphaEnumCharlie
impl StructuralPartialEq for VbatAlphaEnumCharlie
Auto Trait Implementations§
impl Freeze for VbatAlphaEnumCharlie
impl RefUnwindSafe for VbatAlphaEnumCharlie
impl Send for VbatAlphaEnumCharlie
impl Sync for VbatAlphaEnumCharlie
impl Unpin for VbatAlphaEnumCharlie
impl UnwindSafe for VbatAlphaEnumCharlie
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