#[repr(u8)]
pub enum CLKDIV_A {
Show 16 variants NoDiv = 0, Div21 = 1, Div22 = 2, Div23 = 3, Div24 = 4, Div25 = 5, Div26 = 6, Div27 = 7, Div28 = 8, Div29 = 9, Div210 = 10, Div211 = 11, Div212 = 12, Div213 = 13, Div214 = 14, Div215 = 15,
}
Available on crate feature stm32wl5x_cm4 only.
Expand description

CLKDIV

Value on reset: 0

Variants§

§

NoDiv = 0

0: Internal RNG clock after divider is similar to incoming RNG clock

§

Div21 = 1

1: Divide RNG clock by 2^1

§

Div22 = 2

2: Divide RNG clock by 2^2

§

Div23 = 3

3: Divide RNG clock by 2^3

§

Div24 = 4

4: Divide RNG clock by 2^4

§

Div25 = 5

5: Divide RNG clock by 2^5

§

Div26 = 6

6: Divide RNG clock by 2^6

§

Div27 = 7

7: Divide RNG clock by 2^7

§

Div28 = 8

8: Divide RNG clock by 2^8

§

Div29 = 9

9: Divide RNG clock by 2^9

§

Div210 = 10

10: Divide RNG clock by 2^10

§

Div211 = 11

11: Divide RNG clock by 2^11

§

Div212 = 12

12: Divide RNG clock by 2^12

§

Div213 = 13

13: Divide RNG clock by 2^13

§

Div214 = 14

14: Divide RNG clock by 2^14

§

Div215 = 15

15: Divide RNG clock by 2^15

Trait Implementations§

§

impl Clone for CLKDIV_A

§

fn clone(&self) -> CLKDIV_A

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
§

impl Debug for CLKDIV_A

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for CLKDIV_A

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl Copy for CLKDIV_A

§

impl StructuralPartialEq for CLKDIV_A

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.