embassy-stm32

Crates

git

Versions

stm32h7s3a8

Flavors

๐Ÿ“ฃ We want to hear from you! Fill the Rust Embedded 2024 micro-survey.

Enum embassy_stm32::rcc::PllPreDiv

#[repr(u8)]
pub enum PllPreDiv {
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

ยง

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

Implementationsยง

ยง

impl Pllm

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

pub const fn to_bits(self) -> u8

Trait Implementationsยง

ยง

impl Clone for Pllm

ยง

fn clone(&self) -> Pllm

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 Div<Pllm> for Hertz

sourceยง

type Output = Hertz

The resulting type after applying the / operator.
sourceยง

fn div(self, rhs: Pllm) -> Self::Output

Performs the / operation. Read more
ยง

impl From<u8> for Pllm

ยง

fn from(val: u8) -> Pllm

Converts to this type from the input type.
sourceยง

impl Mul<Pllm> for Hertz

sourceยง

type Output = Hertz

The resulting type after applying the * operator.
sourceยง

fn mul(self, rhs: Pllm) -> Self::Output

Performs the * operation. Read more
ยง

impl Ord for Pllm

ยง

fn cmp(&self, other: &Pllm) -> 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 + PartialOrd,

Restrict a value to a certain interval. Read more
ยง

impl PartialEq for Pllm

ยง

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

ยง

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

ยง

impl Eq for Pllm

ยง

impl StructuralPartialEq for Pllm

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, dst: *mut T)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.