Embassy
stm32-metapac

Crates

git

Versions

stm32u535je

Flavors

#[repr(u8)]
pub enum Bssel {
Show 32 variants BS0_R = 0, BS0_F = 1, BS1_R = 2, BS1_F = 3, BS2_R = 4, BS2_F = 5, BS3_R = 6, BS3_F = 7, BS4_R = 8, BS4_F = 9, BS5_R = 10, BS5_F = 11, BS6_R = 12, BS6_F = 13, BS7_R = 14, BS7_F = 15, BS8_R = 16, BS8_F = 17, BS9_R = 18, BS9_F = 19, BS10_R = 20, BS10_F = 21, BS11_R = 22, BS11_F = 23, BS12_R = 24, BS12_F = 25, BS13_R = 26, BS13_F = 27, BS14_R = 28, BS14_F = 29, BS15_R = 30, BS15_F = 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§

§

BS0_R = 0

bsx_r provided to DFLTy (and SCDy).

§

BS0_F = 1

bsx_f provided to DFLTy (and SCDy).

§

BS1_R = 2

bsx_r provided to DFLTy (and SCDy).

§

BS1_F = 3

bsx_f provided to DFLTy (and SCDy).

§

BS2_R = 4

bsx_r provided to DFLTy (and SCDy).

§

BS2_F = 5

bsx_f provided to DFLTy (and SCDy).

§

BS3_R = 6

bsx_r provided to DFLTy (and SCDy).

§

BS3_F = 7

bsx_f provided to DFLTy (and SCDy).

§

BS4_R = 8

bsx_r provided to DFLTy (and SCDy).

§

BS4_F = 9

bsx_f provided to DFLTy (and SCDy).

§

BS5_R = 10

bsx_r provided to DFLTy (and SCDy).

§

BS5_F = 11

bsx_f provided to DFLTy (and SCDy).

§

BS6_R = 12

bsx_r provided to DFLTy (and SCDy).

§

BS6_F = 13

bsx_f provided to DFLTy (and SCDy).

§

BS7_R = 14

bsx_r provided to DFLTy (and SCDy).

§

BS7_F = 15

bsx_f provided to DFLTy (and SCDy).

§

BS8_R = 16

bsx_r provided to DFLTy (and SCDy).

§

BS8_F = 17

bsx_f provided to DFLTy (and SCDy).

§

BS9_R = 18

bsx_r provided to DFLTy (and SCDy).

§

BS9_F = 19

bsx_f provided to DFLTy (and SCDy).

§

BS10_R = 20

bsx_r provided to DFLTy (and SCDy).

§

BS10_F = 21

bsx_f provided to DFLTy (and SCDy).

§

BS11_R = 22

bsx_r provided to DFLTy (and SCDy).

§

BS11_F = 23

bsx_f provided to DFLTy (and SCDy).

§

BS12_R = 24

bsx_r provided to DFLTy (and SCDy).

§

BS12_F = 25

bsx_f provided to DFLTy (and SCDy).

§

BS13_R = 26

bsx_r provided to DFLTy (and SCDy).

§

BS13_F = 27

bsx_f provided to DFLTy (and SCDy).

§

BS14_R = 28

bsx_r provided to DFLTy (and SCDy).

§

BS14_F = 29

bsx_f provided to DFLTy (and SCDy).

§

BS15_R = 30

bsx_r provided to DFLTy (and SCDy).

§

BS15_F = 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 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 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 + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Bssel

§

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

This method 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

This method 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

This method 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

This method 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 StructuralEq for Bssel

§

impl StructuralPartialEq for Bssel

Auto Trait Implementations§

§

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

§

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

§

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.