#[repr(u8)]
pub enum Vpt {
Show 32 variants Minus6_4 = 0, Minus6_0 = 1, Minus5_6 = 2, Minus5_2 = 3, Minus4_8 = 4, Minus4_4 = 5, Minus4_0 = 6, Minus3_6 = 7, Minus3_2 = 8, Minus2_8 = 9, Minus2_4 = 10, Minus2_0 = 11, Minus1_6 = 12, Minus1_2 = 13, Minus0_8 = 14, Minus0_4 = 15, Zero = 16, Plus0_4 = 17, Plus0_8 = 18, Plus1_2 = 19, Plus1_6 = 20, Plus2_4 = 22, Plus2_0 = 21, Plus2_8 = 23, Plus3_2 = 24, Plus3_6 = 25, Plus4_0 = 26, Plus4_4 = 27, Plus4_8 = 28, Plus5_2 = 29, Plus5_6 = 30, Plus6_0 = 31,
}
Expand description

Voltage precision tirm

Value on reset: 16

Variants§

§

Minus6_4 = 0

0: Trim -6.4%

§

Minus6_0 = 1

1: Trim -6.0%

§

Minus5_6 = 2

2: Trim -5.6%

§

Minus5_2 = 3

3: Trim -5.2%

§

Minus4_8 = 4

4: Trim -4.8%

§

Minus4_4 = 5

5: Trim -4.4%

§

Minus4_0 = 6

6: Trim -4.0%

§

Minus3_6 = 7

7: Trim -3.6%

§

Minus3_2 = 8

8: Trim -3.2%

§

Minus2_8 = 9

9: Trim -2.8%

§

Minus2_4 = 10

10: Trim -2.4%

§

Minus2_0 = 11

11: Trim -2.0%

§

Minus1_6 = 12

12: Trim -1.6%

§

Minus1_2 = 13

13: Trim -1.2%

§

Minus0_8 = 14

14: Trim -0.8%

§

Minus0_4 = 15

15: Trim -0.4%

§

Zero = 16

16: Trim 0%

§

Plus0_4 = 17

17: Trim +0.4%

§

Plus0_8 = 18

18: Trim +0.8%

§

Plus1_2 = 19

19: Trim +1.2%

§

Plus1_6 = 20

20: Trim +1.6%

§

Plus2_4 = 22

22: Trim +2.4%

§

Plus2_0 = 21

21: Trim +2.0%

§

Plus2_8 = 23

23: Trim +2.8%

§

Plus3_2 = 24

24: Trim +3.2%

§

Plus3_6 = 25

25: Trim +3.6%

§

Plus4_0 = 26

26: Trim +4.0%

§

Plus4_4 = 27

27: Trim +4.4%

§

Plus4_8 = 28

28: Trim +4.8%

§

Plus5_2 = 29

29: Trim +5.2%

§

Plus5_6 = 30

30: Trim +5.6%

§

Plus6_0 = 31

31: Trim +6.0%

Trait Implementations§

source§

impl Clone for Vpt

source§

fn clone(&self) -> Vpt

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Vpt

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FieldSpec for Vpt

§

type Ux = u8

Raw field type (u8, u16, u32, …).
source§

impl From<Vpt> for u8

source§

fn from(variant: Vpt) -> Self

Converts to this type from the input type.
source§

impl PartialEq for Vpt

source§

fn eq(&self, other: &Vpt) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Vpt

source§

impl Eq for Vpt

source§

impl StructuralPartialEq for Vpt

Auto Trait Implementations§

§

impl Freeze for Vpt

§

impl RefUnwindSafe for Vpt

§

impl Send for Vpt

§

impl Sync for Vpt

§

impl Unpin for Vpt

§

impl UnwindSafe for Vpt

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.