stm32-metapac

Crates

git

Versions

stm32u585vi

Flavors

Bssel

Enum Bssel 

#[repr(u8)]
pub enum Bssel {
Show 32 variants Bs0R = 0, Bs0F = 1, Bs1R = 2, Bs1F = 3, Bs2R = 4, Bs2F = 5, Bs3R = 6, Bs3F = 7, Bs4R = 8, Bs4F = 9, Bs5R = 10, Bs5F = 11, Bs6R = 12, Bs6F = 13, Bs7R = 14, Bs7F = 15, Bs8R = 16, Bs8F = 17, Bs9R = 18, Bs9F = 19, Bs10R = 20, Bs10F = 21, Bs11R = 22, Bs11F = 23, Bs12R = 24, Bs12F = 25, Bs13R = 26, Bs13F = 27, Bs14R = 28, Bs14F = 29, Bs15R = 30, Bs15F = 31,
}
Expand description

Bitstream selection. This bitfield is set and cleared by software. It is used to select the bitstream to be used by the DFLT0.

Variants§

§

Bs0R = 0

bsx_r provided to DFLTy (and SCDy).

§

Bs0F = 1

bsx_f provided to DFLTy (and SCDy).

§

Bs1R = 2

bsx_r provided to DFLTy (and SCDy).

§

Bs1F = 3

bsx_f provided to DFLTy (and SCDy).

§

Bs2R = 4

bsx_r provided to DFLTy (and SCDy).

§

Bs2F = 5

bsx_f provided to DFLTy (and SCDy).

§

Bs3R = 6

bsx_r provided to DFLTy (and SCDy).

§

Bs3F = 7

bsx_f provided to DFLTy (and SCDy).

§

Bs4R = 8

bsx_r provided to DFLTy (and SCDy).

§

Bs4F = 9

bsx_f provided to DFLTy (and SCDy).

§

Bs5R = 10

bsx_r provided to DFLTy (and SCDy).

§

Bs5F = 11

bsx_f provided to DFLTy (and SCDy).

§

Bs6R = 12

bsx_r provided to DFLTy (and SCDy).

§

Bs6F = 13

bsx_f provided to DFLTy (and SCDy).

§

Bs7R = 14

bsx_r provided to DFLTy (and SCDy).

§

Bs7F = 15

bsx_f provided to DFLTy (and SCDy).

§

Bs8R = 16

bsx_r provided to DFLTy (and SCDy).

§

Bs8F = 17

bsx_f provided to DFLTy (and SCDy).

§

Bs9R = 18

bsx_r provided to DFLTy (and SCDy).

§

Bs9F = 19

bsx_f provided to DFLTy (and SCDy).

§

Bs10R = 20

bsx_r provided to DFLTy (and SCDy).

§

Bs10F = 21

bsx_f provided to DFLTy (and SCDy).

§

Bs11R = 22

bsx_r provided to DFLTy (and SCDy).

§

Bs11F = 23

bsx_f provided to DFLTy (and SCDy).

§

Bs12R = 24

bsx_r provided to DFLTy (and SCDy).

§

Bs12F = 25

bsx_f provided to DFLTy (and SCDy).

§

Bs13R = 26

bsx_r provided to DFLTy (and SCDy).

§

Bs13F = 27

bsx_f provided to DFLTy (and SCDy).

§

Bs14R = 28

bsx_r provided to DFLTy (and SCDy).

§

Bs14F = 29

bsx_f provided to DFLTy (and SCDy).

§

Bs15R = 30

bsx_r provided to DFLTy (and SCDy).

§

Bs15F = 31

bsx_f provided to DFLTy (and SCDy).

Implementations§

§

impl Bssel

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

pub const fn to_bits(self) -> u8

Trait Implementations§

§

impl Clone for Bssel

§

fn clone(&self) -> Bssel

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 Bssel

§

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

Formats the value using the given formatter. Read more
§

impl From<Bssel> for u8

§

fn from(val: Bssel) -> u8

Converts to this type from the input type.
§

impl From<u8> for Bssel

§

fn from(val: u8) -> Bssel

Converts to this type from the input type.
§

impl Ord for Bssel

§

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

§

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

§

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

§

impl Eq for Bssel

§

impl StructuralPartialEq for Bssel

Auto Trait Implementations§

§

impl Freeze for Bssel

§

impl RefUnwindSafe for Bssel

§

impl Send for Bssel

§

impl Sync for Bssel

§

impl Unpin for Bssel

§

impl UnwindSafe for Bssel

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.