stm32-metapac

Crates

6.0.0

Versions

stm32h730ib

Flavors

Struct Divp

#[repr(transparent)]
pub struct Divp(pub u8);

Tuple Fields§

§0: u8

Implementations§

§

impl Divp

pub const DIV1: Self

pll_p_ck = vco_ck

pub const DIV2: Self

pll_p_ck = vco_ck / 2

pub const DIV4: Self

pll_p_ck = vco_ck / 4

pub const DIV6: Self

pll_p_ck = vco_ck / 6

pub const DIV8: Self

pll_p_ck = vco_ck / 8

pub const DIV10: Self

pll_p_ck = vco_ck / 10

pub const DIV12: Self

pll_p_ck = vco_ck / 12

pub const DIV14: Self

pll_p_ck = vco_ck / 14

pub const DIV16: Self

pll_p_ck = vco_ck / 16

pub const DIV18: Self

pll_p_ck = vco_ck / 18

pub const DIV20: Self

pll_p_ck = vco_ck / 20

pub const DIV22: Self

pll_p_ck = vco_ck / 22

pub const DIV24: Self

pll_p_ck = vco_ck / 24

pub const DIV26: Self

pll_p_ck = vco_ck / 26

pub const DIV28: Self

pll_p_ck = vco_ck / 28

pub const DIV30: Self

pll_p_ck = vco_ck / 30

pub const DIV32: Self

pll_p_ck = vco_ck / 32

pub const DIV34: Self

pll_p_ck = vco_ck / 34

pub const DIV36: Self

pll_p_ck = vco_ck / 36

pub const DIV38: Self

pll_p_ck = vco_ck / 38

pub const DIV40: Self

pll_p_ck = vco_ck / 40

pub const DIV42: Self

pll_p_ck = vco_ck / 42

pub const DIV44: Self

pll_p_ck = vco_ck / 44

pub const DIV46: Self

pll_p_ck = vco_ck / 46

pub const DIV48: Self

pll_p_ck = vco_ck / 48

pub const DIV50: Self

pll_p_ck = vco_ck / 50

pub const DIV52: Self

pll_p_ck = vco_ck / 52

pub const DIV54: Self

pll_p_ck = vco_ck / 54

pub const DIV56: Self

pll_p_ck = vco_ck / 56

pub const DIV58: Self

pll_p_ck = vco_ck / 58

pub const DIV60: Self

pll_p_ck = vco_ck / 60

pub const DIV62: Self

pll_p_ck = vco_ck / 62

pub const DIV64: Self

pll_p_ck = vco_ck / 64

pub const DIV66: Self

pll_p_ck = vco_ck / 66

pub const DIV68: Self

pll_p_ck = vco_ck / 68

pub const DIV70: Self

pll_p_ck = vco_ck / 70

pub const DIV72: Self

pll_p_ck = vco_ck / 72

pub const DIV74: Self

pll_p_ck = vco_ck / 74

pub const DIV76: Self

pll_p_ck = vco_ck / 76

pub const DIV78: Self

pll_p_ck = vco_ck / 78

pub const DIV80: Self

pll_p_ck = vco_ck / 80

pub const DIV82: Self

pll_p_ck = vco_ck / 82

pub const DIV84: Self

pll_p_ck = vco_ck / 84

pub const DIV86: Self

pll_p_ck = vco_ck / 86

pub const DIV88: Self

pll_p_ck = vco_ck / 88

pub const DIV90: Self

pll_p_ck = vco_ck / 90

pub const DIV92: Self

pll_p_ck = vco_ck / 92

pub const DIV94: Self

pll_p_ck = vco_ck / 94

pub const DIV96: Self

pll_p_ck = vco_ck / 96

pub const DIV98: Self

pll_p_ck = vco_ck / 98

pub const DIV100: Self

pll_p_ck = vco_ck / 100

pub const DIV102: Self

pll_p_ck = vco_ck / 102

pub const DIV104: Self

pll_p_ck = vco_ck / 104

pub const DIV106: Self

pll_p_ck = vco_ck / 106

pub const DIV108: Self

pll_p_ck = vco_ck / 108

pub const DIV110: Self

pll_p_ck = vco_ck / 110

pub const DIV112: Self

pll_p_ck = vco_ck / 112

pub const DIV114: Self

pll_p_ck = vco_ck / 114

pub const DIV116: Self

pll_p_ck = vco_ck / 116

pub const DIV118: Self

pll_p_ck = vco_ck / 118

pub const DIV120: Self

pll_p_ck = vco_ck / 120

pub const DIV122: Self

pll_p_ck = vco_ck / 122

pub const DIV124: Self

pll_p_ck = vco_ck / 124

pub const DIV126: Self

pll_p_ck = vco_ck / 126

pub const DIV128: Self

pll_p_ck = vco_ck / 128

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