stm32-metapac

Crates

12.0.0

Versions

stm32h730ib

Flavors

Enum Divp

#[repr(u8)]
pub enum Divp {
Show 128 variants DIV1 = 0, DIV2 = 1, _RESERVED_2 = 2, DIV4 = 3, _RESERVED_4 = 4, DIV6 = 5, _RESERVED_6 = 6, DIV8 = 7, _RESERVED_8 = 8, DIV10 = 9, _RESERVED_a = 10, DIV12 = 11, _RESERVED_c = 12, DIV14 = 13, _RESERVED_e = 14, DIV16 = 15, _RESERVED_10 = 16, DIV18 = 17, _RESERVED_12 = 18, DIV20 = 19, _RESERVED_14 = 20, DIV22 = 21, _RESERVED_16 = 22, DIV24 = 23, _RESERVED_18 = 24, DIV26 = 25, _RESERVED_1a = 26, DIV28 = 27, _RESERVED_1c = 28, DIV30 = 29, _RESERVED_1e = 30, DIV32 = 31, _RESERVED_20 = 32, DIV34 = 33, _RESERVED_22 = 34, DIV36 = 35, _RESERVED_24 = 36, DIV38 = 37, _RESERVED_26 = 38, DIV40 = 39, _RESERVED_28 = 40, DIV42 = 41, _RESERVED_2a = 42, DIV44 = 43, _RESERVED_2c = 44, DIV46 = 45, _RESERVED_2e = 46, DIV48 = 47, _RESERVED_30 = 48, DIV50 = 49, _RESERVED_32 = 50, DIV52 = 51, _RESERVED_34 = 52, DIV54 = 53, _RESERVED_36 = 54, DIV56 = 55, _RESERVED_38 = 56, DIV58 = 57, _RESERVED_3a = 58, DIV60 = 59, _RESERVED_3c = 60, DIV62 = 61, _RESERVED_3e = 62, DIV64 = 63, _RESERVED_40 = 64, DIV66 = 65, _RESERVED_42 = 66, DIV68 = 67, _RESERVED_44 = 68, DIV70 = 69, _RESERVED_46 = 70, DIV72 = 71, _RESERVED_48 = 72, DIV74 = 73, _RESERVED_4a = 74, DIV76 = 75, _RESERVED_4c = 76, DIV78 = 77, _RESERVED_4e = 78, DIV80 = 79, _RESERVED_50 = 80, DIV82 = 81, _RESERVED_52 = 82, DIV84 = 83, _RESERVED_54 = 84, DIV86 = 85, _RESERVED_56 = 86, DIV88 = 87, _RESERVED_58 = 88, DIV90 = 89, _RESERVED_5a = 90, DIV92 = 91, _RESERVED_5c = 92, DIV94 = 93, _RESERVED_5e = 94, DIV96 = 95, _RESERVED_60 = 96, DIV98 = 97, _RESERVED_62 = 98, DIV100 = 99, _RESERVED_64 = 100, DIV102 = 101, _RESERVED_66 = 102, DIV104 = 103, _RESERVED_68 = 104, DIV106 = 105, _RESERVED_6a = 106, DIV108 = 107, _RESERVED_6c = 108, DIV110 = 109, _RESERVED_6e = 110, DIV112 = 111, _RESERVED_70 = 112, DIV114 = 113, _RESERVED_72 = 114, DIV116 = 115, _RESERVED_74 = 116, DIV118 = 117, _RESERVED_76 = 118, DIV120 = 119, _RESERVED_78 = 120, DIV122 = 121, _RESERVED_7a = 122, DIV124 = 123, _RESERVED_7c = 124, DIV126 = 125, _RESERVED_7e = 126, DIV128 = 127,
}

Variants§

§

DIV1 = 0

pll_p_ck = vco_ck

§

DIV2 = 1

pll_p_ck = vco_ck / 2

§

_RESERVED_2 = 2

§

DIV4 = 3

pll_p_ck = vco_ck / 4

§

_RESERVED_4 = 4

§

DIV6 = 5

pll_p_ck = vco_ck / 6

§

_RESERVED_6 = 6

§

DIV8 = 7

pll_p_ck = vco_ck / 8

§

_RESERVED_8 = 8

§

DIV10 = 9

pll_p_ck = vco_ck / 10

§

_RESERVED_a = 10

§

DIV12 = 11

pll_p_ck = vco_ck / 12

§

_RESERVED_c = 12

§

DIV14 = 13

pll_p_ck = vco_ck / 14

§

_RESERVED_e = 14

§

DIV16 = 15

pll_p_ck = vco_ck / 16

§

_RESERVED_10 = 16

§

DIV18 = 17

pll_p_ck = vco_ck / 18

§

_RESERVED_12 = 18

§

DIV20 = 19

pll_p_ck = vco_ck / 20

§

_RESERVED_14 = 20

§

DIV22 = 21

pll_p_ck = vco_ck / 22

§

_RESERVED_16 = 22

§

DIV24 = 23

pll_p_ck = vco_ck / 24

§

_RESERVED_18 = 24

§

DIV26 = 25

pll_p_ck = vco_ck / 26

§

_RESERVED_1a = 26

§

DIV28 = 27

pll_p_ck = vco_ck / 28

§

_RESERVED_1c = 28

§

DIV30 = 29

pll_p_ck = vco_ck / 30

§

_RESERVED_1e = 30

§

DIV32 = 31

pll_p_ck = vco_ck / 32

§

_RESERVED_20 = 32

§

DIV34 = 33

pll_p_ck = vco_ck / 34

§

_RESERVED_22 = 34

§

DIV36 = 35

pll_p_ck = vco_ck / 36

§

_RESERVED_24 = 36

§

DIV38 = 37

pll_p_ck = vco_ck / 38

§

_RESERVED_26 = 38

§

DIV40 = 39

pll_p_ck = vco_ck / 40

§

_RESERVED_28 = 40

§

DIV42 = 41

pll_p_ck = vco_ck / 42

§

_RESERVED_2a = 42

§

DIV44 = 43

pll_p_ck = vco_ck / 44

§

_RESERVED_2c = 44

§

DIV46 = 45

pll_p_ck = vco_ck / 46

§

_RESERVED_2e = 46

§

DIV48 = 47

pll_p_ck = vco_ck / 48

§

_RESERVED_30 = 48

§

DIV50 = 49

pll_p_ck = vco_ck / 50

§

_RESERVED_32 = 50

§

DIV52 = 51

pll_p_ck = vco_ck / 52

§

_RESERVED_34 = 52

§

DIV54 = 53

pll_p_ck = vco_ck / 54

§

_RESERVED_36 = 54

§

DIV56 = 55

pll_p_ck = vco_ck / 56

§

_RESERVED_38 = 56

§

DIV58 = 57

pll_p_ck = vco_ck / 58

§

_RESERVED_3a = 58

§

DIV60 = 59

pll_p_ck = vco_ck / 60

§

_RESERVED_3c = 60

§

DIV62 = 61

pll_p_ck = vco_ck / 62

§

_RESERVED_3e = 62

§

DIV64 = 63

pll_p_ck = vco_ck / 64

§

_RESERVED_40 = 64

§

DIV66 = 65

pll_p_ck = vco_ck / 66

§

_RESERVED_42 = 66

§

DIV68 = 67

pll_p_ck = vco_ck / 68

§

_RESERVED_44 = 68

§

DIV70 = 69

pll_p_ck = vco_ck / 70

§

_RESERVED_46 = 70

§

DIV72 = 71

pll_p_ck = vco_ck / 72

§

_RESERVED_48 = 72

§

DIV74 = 73

pll_p_ck = vco_ck / 74

§

_RESERVED_4a = 74

§

DIV76 = 75

pll_p_ck = vco_ck / 76

§

_RESERVED_4c = 76

§

DIV78 = 77

pll_p_ck = vco_ck / 78

§

_RESERVED_4e = 78

§

DIV80 = 79

pll_p_ck = vco_ck / 80

§

_RESERVED_50 = 80

§

DIV82 = 81

pll_p_ck = vco_ck / 82

§

_RESERVED_52 = 82

§

DIV84 = 83

pll_p_ck = vco_ck / 84

§

_RESERVED_54 = 84

§

DIV86 = 85

pll_p_ck = vco_ck / 86

§

_RESERVED_56 = 86

§

DIV88 = 87

pll_p_ck = vco_ck / 88

§

_RESERVED_58 = 88

§

DIV90 = 89

pll_p_ck = vco_ck / 90

§

_RESERVED_5a = 90

§

DIV92 = 91

pll_p_ck = vco_ck / 92

§

_RESERVED_5c = 92

§

DIV94 = 93

pll_p_ck = vco_ck / 94

§

_RESERVED_5e = 94

§

DIV96 = 95

pll_p_ck = vco_ck / 96

§

_RESERVED_60 = 96

§

DIV98 = 97

pll_p_ck = vco_ck / 98

§

_RESERVED_62 = 98

§

DIV100 = 99

pll_p_ck = vco_ck / 100

§

_RESERVED_64 = 100

§

DIV102 = 101

pll_p_ck = vco_ck / 102

§

_RESERVED_66 = 102

§

DIV104 = 103

pll_p_ck = vco_ck / 104

§

_RESERVED_68 = 104

§

DIV106 = 105

pll_p_ck = vco_ck / 106

§

_RESERVED_6a = 106

§

DIV108 = 107

pll_p_ck = vco_ck / 108

§

_RESERVED_6c = 108

§

DIV110 = 109

pll_p_ck = vco_ck / 110

§

_RESERVED_6e = 110

§

DIV112 = 111

pll_p_ck = vco_ck / 112

§

_RESERVED_70 = 112

§

DIV114 = 113

pll_p_ck = vco_ck / 114

§

_RESERVED_72 = 114

§

DIV116 = 115

pll_p_ck = vco_ck / 116

§

_RESERVED_74 = 116

§

DIV118 = 117

pll_p_ck = vco_ck / 118

§

_RESERVED_76 = 118

§

DIV120 = 119

pll_p_ck = vco_ck / 120

§

_RESERVED_78 = 120

§

DIV122 = 121

pll_p_ck = vco_ck / 122

§

_RESERVED_7a = 122

§

DIV124 = 123

pll_p_ck = vco_ck / 124

§

_RESERVED_7c = 124

§

DIV126 = 125

pll_p_ck = vco_ck / 126

§

_RESERVED_7e = 126

§

DIV128 = 127

pll_p_ck = vco_ck / 128

Implementations§

§

impl Divp

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

pub const fn to_bits(self) -> u8

Trait Implementations§

§

impl Clone for Divp

§

fn clone(&self) -> Divp

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
§

impl From<Divp> for u8

§

fn from(val: Divp) -> u8

Converts to this type from the input type.
§

impl From<u8> for Divp

§

fn from(val: u8) -> Divp

Converts to this type from the input type.
§

impl Ord for Divp

§

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

§

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

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

const 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 Divp

§

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

§

impl Eq for Divp

§

impl StructuralPartialEq for Divp

Auto Trait Implementations§

§

impl Freeze for Divp

§

impl RefUnwindSafe for Divp

§

impl Send for Divp

§

impl Sync for Divp

§

impl Unpin for Divp

§

impl UnwindSafe for Divp

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.