#[repr(u8)]pub enum CapTrim {
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 Ord for CapTrim
impl Ord for CapTrim
Source§impl PartialOrd for CapTrim
impl PartialOrd for CapTrim
impl Copy for CapTrim
impl Eq for CapTrim
impl StructuralPartialEq for CapTrim
Auto Trait Implementations§
impl Freeze for CapTrim
impl RefUnwindSafe for CapTrim
impl Send for CapTrim
impl Sync for CapTrim
impl Unpin for CapTrim
impl UnwindSafe for CapTrim
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