embassy-stm32

Crates

git

Versions

stm32n645i0

Flavors

Plldivm

Enum Plldivm 

#[repr(u8)]
pub enum Plldivm {
Show 64 variants _RESERVED_0 = 0, DIV1 = 1, DIV2 = 2, DIV3 = 3, DIV4 = 4, DIV5 = 5, DIV6 = 6, DIV7 = 7, DIV8 = 8, DIV9 = 9, DIV10 = 10, DIV11 = 11, DIV12 = 12, DIV13 = 13, DIV14 = 14, DIV15 = 15, DIV16 = 16, DIV17 = 17, DIV18 = 18, DIV19 = 19, DIV20 = 20, DIV21 = 21, DIV22 = 22, DIV23 = 23, DIV24 = 24, DIV25 = 25, DIV26 = 26, DIV27 = 27, DIV28 = 28, DIV29 = 29, DIV30 = 30, DIV31 = 31, DIV32 = 32, DIV33 = 33, DIV34 = 34, DIV35 = 35, DIV36 = 36, DIV37 = 37, DIV38 = 38, DIV39 = 39, DIV40 = 40, DIV41 = 41, DIV42 = 42, DIV43 = 43, DIV44 = 44, DIV45 = 45, DIV46 = 46, DIV47 = 47, DIV48 = 48, DIV49 = 49, DIV50 = 50, DIV51 = 51, DIV52 = 52, DIV53 = 53, DIV54 = 54, DIV55 = 55, DIV56 = 56, DIV57 = 57, DIV58 = 58, DIV59 = 59, DIV60 = 60, DIV61 = 61, DIV62 = 62, DIV63 = 63,
}

Variants§

§

_RESERVED_0 = 0

§

DIV1 = 1

reference clock is divided by 1 (min value).

§

DIV2 = 2

reference clock is divided by 2.

§

DIV3 = 3

reference clock is divided by 3.

§

DIV4 = 4

reference clock is divided by 4.

§

DIV5 = 5

reference clock is divided by 5.

§

DIV6 = 6

reference clock is divided by 6.

§

DIV7 = 7

reference clock is divided by 7.

§

DIV8 = 8

reference clock is divided by 8.

§

DIV9 = 9

reference clock is divided by 9.

§

DIV10 = 10

reference clock is divided by 10.

§

DIV11 = 11

reference clock is divided by 11.

§

DIV12 = 12

reference clock is divided by 12.

§

DIV13 = 13

reference clock is divided by 13.

§

DIV14 = 14

reference clock is divided by 14.

§

DIV15 = 15

reference clock is divided by 15.

§

DIV16 = 16

reference clock is divided by 16.

§

DIV17 = 17

reference clock is divided by 17.

§

DIV18 = 18

reference clock is divided by 18.

§

DIV19 = 19

reference clock is divided by 19.

§

DIV20 = 20

reference clock is divided by 20.

§

DIV21 = 21

reference clock is divided by 21.

§

DIV22 = 22

reference clock is divided by 22.

§

DIV23 = 23

reference clock is divided by 23.

§

DIV24 = 24

reference clock is divided by 24.

§

DIV25 = 25

reference clock is divided by 25.

§

DIV26 = 26

reference clock is divided by 26.

§

DIV27 = 27

reference clock is divided by 27.

§

DIV28 = 28

reference clock is divided by 28.

§

DIV29 = 29

reference clock is divided by 29.

§

DIV30 = 30

reference clock is divided by 30.

§

DIV31 = 31

reference clock is divided by 31.

§

DIV32 = 32

reference clock is divided by 32.

§

DIV33 = 33

reference clock is divided by 33.

§

DIV34 = 34

reference clock is divided by 34.

§

DIV35 = 35

reference clock is divided by 35.

§

DIV36 = 36

reference clock is divided by 36.

§

DIV37 = 37

reference clock is divided by 37.

§

DIV38 = 38

reference clock is divided by 38.

§

DIV39 = 39

reference clock is divided by 39.

§

DIV40 = 40

reference clock is divided by 40.

§

DIV41 = 41

reference clock is divided by 41.

§

DIV42 = 42

reference clock is divided by 42.

§

DIV43 = 43

reference clock is divided by 43.

§

DIV44 = 44

reference clock is divided by 44.

§

DIV45 = 45

reference clock is divided by 45.

§

DIV46 = 46

reference clock is divided by 46.

§

DIV47 = 47

reference clock is divided by 47.

§

DIV48 = 48

reference clock is divided by 48.

§

DIV49 = 49

reference clock is divided by 49.

§

DIV50 = 50

reference clock is divided by 50.

§

DIV51 = 51

reference clock is divided by 51.

§

DIV52 = 52

reference clock is divided by 52.

§

DIV53 = 53

reference clock is divided by 53.

§

DIV54 = 54

reference clock is divided by 54.

§

DIV55 = 55

reference clock is divided by 55.

§

DIV56 = 56

reference clock is divided by 56.

§

DIV57 = 57

reference clock is divided by 57.

§

DIV58 = 58

reference clock is divided by 58.

§

DIV59 = 59

reference clock is divided by 59.

§

DIV60 = 60

reference clock is divided by 60.

§

DIV61 = 61

reference clock is divided by 61.

§

DIV62 = 62

reference clock is divided by 62.

§

DIV63 = 63

reference clock is divided by 63.

Implementations§

§

impl Plldivm

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

pub const fn to_bits(self) -> u8

Trait Implementations§

§

impl Clone for Plldivm

§

fn clone(&self) -> Plldivm

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
§

impl Debug for Plldivm

§

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

Formats the value using the given formatter. Read more
§

impl Format for Plldivm

§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
§

impl From<u8> for Plldivm

§

fn from(val: u8) -> Plldivm

Converts to this type from the input type.
§

impl Ord for Plldivm

§

fn cmp(&self, other: &Plldivm) -> 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
§

impl PartialEq for Plldivm

§

fn eq(&self, other: &Plldivm) -> 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.
§

impl PartialOrd for Plldivm

§

fn partial_cmp(&self, other: &Plldivm) -> 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
§

impl Copy for Plldivm

§

impl Eq for Plldivm

§

impl StructuralPartialEq for Plldivm

Auto Trait Implementations§

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.