nxp-pac

Crates

git

Versions

lpc55s69_cm33_core0

Flavors

Vadj

Enum Vadj 

Source
#[repr(u8)]
pub enum Vadj {
Show 32 variants V_1P220 = 0, V_0P700 = 1, V_0P725 = 2, V_0P750 = 3, V_0P775 = 4, V_0P800 = 5, V_0P825 = 6, V_0P850 = 7, V_0P875 = 8, V_0P900 = 9, V_0P960 = 10, V_0P970 = 11, V_0P980 = 12, V_0P990 = 13, V_1P000 = 14, V_1P010 = 15, V_1P020 = 16, V_1P030 = 17, V_1P040 = 18, V_1P050 = 19, V_1P060 = 20, V_1P070 = 21, V_1P080 = 22, V_1P090 = 23, V_1P100 = 24, V_1P110 = 25, V_1P120 = 26, V_1P130 = 27, V_1P140 = 28, V_1P150 = 29, V_1P160 = 30, V_1P220_1 = 31,
}

Variants§

§

V_1P220 = 0

1.22 V.

§

V_0P700 = 1

0.7 V.

§

V_0P725 = 2

0.725 V.

§

V_0P750 = 3

0.75 V.

§

V_0P775 = 4

0.775 V.

§

V_0P800 = 5

0.8 V.

§

V_0P825 = 6

0.825 V.

§

V_0P850 = 7

0.85 V.

§

V_0P875 = 8

0.875 V.

§

V_0P900 = 9

0.9 V.

§

V_0P960 = 10

0.96 V.

§

V_0P970 = 11

0.97 V.

§

V_0P980 = 12

0.98 V.

§

V_0P990 = 13

0.99 V.

§

V_1P000 = 14

1 V.

§

V_1P010 = 15

1.01 V.

§

V_1P020 = 16

1.02 V.

§

V_1P030 = 17

1.03 V.

§

V_1P040 = 18

1.04 V.

§

V_1P050 = 19

1.05 V.

§

V_1P060 = 20

1.06 V.

§

V_1P070 = 21

1.07 V.

§

V_1P080 = 22

1.08 V.

§

V_1P090 = 23

1.09 V.

§

V_1P100 = 24

1.1 V.

§

V_1P110 = 25

1.11 V.

§

V_1P120 = 26

1.12 V.

§

V_1P130 = 27

1.13 V.

§

V_1P140 = 28

1.14 V.

§

V_1P150 = 29

1.15 V.

§

V_1P160 = 30

1.16 V.

§

V_1P220_1 = 31

1.22 V.

Implementations§

Source§

impl Vadj

Source

pub const fn from_bits(val: u8) -> Vadj

Source

pub const fn to_bits(self) -> u8

Trait Implementations§

Source§

impl Clone for Vadj

Source§

fn clone(&self) -> Vadj

Returns a duplicate 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 Vadj

Source§

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

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

impl From<Vadj> for u8

Source§

fn from(val: Vadj) -> u8

Converts to this type from the input type.
Source§

impl From<u8> for Vadj

Source§

fn from(val: u8) -> Vadj

Converts to this type from the input type.
Source§

impl Ord for Vadj

Source§

fn cmp(&self, other: &Vadj) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Vadj

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Vadj

Source§

fn partial_cmp(&self, other: &Vadj) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for Vadj

Source§

impl Eq for Vadj

Source§

impl StructuralPartialEq for Vadj

Auto Trait Implementations§

§

impl Freeze for Vadj

§

impl RefUnwindSafe for Vadj

§

impl Send for Vadj

§

impl Sync for Vadj

§

impl Unpin for Vadj

§

impl UnwindSafe for Vadj

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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>,

Source§

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>,

Source§

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.