stm32-metapac

Crates

git

Versions

stm32h503eb

Flavors

Enum stm32_metapac::flash::vals::ProductState

#[repr(u8)]
pub enum ProductState {
Show 256 variants _RESERVED_0 = 0, _RESERVED_1 = 1, _RESERVED_2 = 2, _RESERVED_3 = 3, _RESERVED_4 = 4, _RESERVED_5 = 5, _RESERVED_6 = 6, _RESERVED_7 = 7, _RESERVED_8 = 8, _RESERVED_9 = 9, _RESERVED_a = 10, _RESERVED_b = 11, _RESERVED_c = 12, _RESERVED_d = 13, _RESERVED_e = 14, _RESERVED_f = 15, _RESERVED_10 = 16, _RESERVED_11 = 17, _RESERVED_12 = 18, _RESERVED_13 = 19, _RESERVED_14 = 20, _RESERVED_15 = 21, _RESERVED_16 = 22, PROVISIONING = 23, _RESERVED_18 = 24, _RESERVED_19 = 25, _RESERVED_1a = 26, _RESERVED_1b = 27, _RESERVED_1c = 28, _RESERVED_1d = 29, _RESERVED_1e = 30, _RESERVED_1f = 31, _RESERVED_20 = 32, _RESERVED_21 = 33, _RESERVED_22 = 34, _RESERVED_23 = 35, _RESERVED_24 = 36, _RESERVED_25 = 37, _RESERVED_26 = 38, _RESERVED_27 = 39, _RESERVED_28 = 40, _RESERVED_29 = 41, _RESERVED_2a = 42, _RESERVED_2b = 43, _RESERVED_2c = 44, _RESERVED_2d = 45, IROT_PROVISIONED = 46, _RESERVED_2f = 47, _RESERVED_30 = 48, _RESERVED_31 = 49, _RESERVED_32 = 50, _RESERVED_33 = 51, _RESERVED_34 = 52, _RESERVED_35 = 53, _RESERVED_36 = 54, _RESERVED_37 = 55, _RESERVED_38 = 56, _RESERVED_39 = 57, _RESERVED_3a = 58, _RESERVED_3b = 59, _RESERVED_3c = 60, _RESERVED_3d = 61, _RESERVED_3e = 62, _RESERVED_3f = 63, _RESERVED_40 = 64, _RESERVED_41 = 65, _RESERVED_42 = 66, _RESERVED_43 = 67, _RESERVED_44 = 68, _RESERVED_45 = 69, _RESERVED_46 = 70, _RESERVED_47 = 71, _RESERVED_48 = 72, _RESERVED_49 = 73, _RESERVED_4a = 74, _RESERVED_4b = 75, _RESERVED_4c = 76, _RESERVED_4d = 77, _RESERVED_4e = 78, _RESERVED_4f = 79, _RESERVED_50 = 80, _RESERVED_51 = 81, _RESERVED_52 = 82, _RESERVED_53 = 83, _RESERVED_54 = 84, _RESERVED_55 = 85, _RESERVED_56 = 86, _RESERVED_57 = 87, _RESERVED_58 = 88, _RESERVED_59 = 89, _RESERVED_5a = 90, _RESERVED_5b = 91, LOCKED = 92, _RESERVED_5d = 93, _RESERVED_5e = 94, _RESERVED_5f = 95, _RESERVED_60 = 96, _RESERVED_61 = 97, _RESERVED_62 = 98, _RESERVED_63 = 99, _RESERVED_64 = 100, _RESERVED_65 = 101, _RESERVED_66 = 102, _RESERVED_67 = 103, _RESERVED_68 = 104, _RESERVED_69 = 105, _RESERVED_6a = 106, _RESERVED_6b = 107, _RESERVED_6c = 108, _RESERVED_6d = 109, _RESERVED_6e = 110, _RESERVED_6f = 111, _RESERVED_70 = 112, _RESERVED_71 = 113, CLOSED = 114, _RESERVED_73 = 115, _RESERVED_74 = 116, _RESERVED_75 = 117, _RESERVED_76 = 118, _RESERVED_77 = 119, _RESERVED_78 = 120, _RESERVED_79 = 121, _RESERVED_7a = 122, _RESERVED_7b = 123, _RESERVED_7c = 124, _RESERVED_7d = 125, _RESERVED_7e = 126, _RESERVED_7f = 127, _RESERVED_80 = 128, _RESERVED_81 = 129, _RESERVED_82 = 130, _RESERVED_83 = 131, _RESERVED_84 = 132, _RESERVED_85 = 133, _RESERVED_86 = 134, _RESERVED_87 = 135, _RESERVED_88 = 136, _RESERVED_89 = 137, _RESERVED_8a = 138, _RESERVED_8b = 139, _RESERVED_8c = 140, _RESERVED_8d = 141, _RESERVED_8e = 142, _RESERVED_8f = 143, _RESERVED_90 = 144, _RESERVED_91 = 145, _RESERVED_92 = 146, _RESERVED_93 = 147, _RESERVED_94 = 148, _RESERVED_95 = 149, _RESERVED_96 = 150, _RESERVED_97 = 151, _RESERVED_98 = 152, _RESERVED_99 = 153, REGRESSION = 154, _RESERVED_9b = 155, _RESERVED_9c = 156, _RESERVED_9d = 157, _RESERVED_9e = 158, _RESERVED_9f = 159, _RESERVED_a0 = 160, _RESERVED_a1 = 161, _RESERVED_a2 = 162, _RESERVED_a3 = 163, _RESERVED_a4 = 164, _RESERVED_a5 = 165, _RESERVED_a6 = 166, _RESERVED_a7 = 167, _RESERVED_a8 = 168, _RESERVED_a9 = 169, _RESERVED_aa = 170, _RESERVED_ab = 171, _RESERVED_ac = 172, _RESERVED_ad = 173, _RESERVED_ae = 174, _RESERVED_af = 175, _RESERVED_b0 = 176, _RESERVED_b1 = 177, _RESERVED_b2 = 178, _RESERVED_b3 = 179, _RESERVED_b4 = 180, _RESERVED_b5 = 181, _RESERVED_b6 = 182, _RESERVED_b7 = 183, _RESERVED_b8 = 184, _RESERVED_b9 = 185, _RESERVED_ba = 186, _RESERVED_bb = 187, _RESERVED_bc = 188, _RESERVED_bd = 189, _RESERVED_be = 190, _RESERVED_bf = 191, _RESERVED_c0 = 192, _RESERVED_c1 = 193, _RESERVED_c2 = 194, _RESERVED_c3 = 195, _RESERVED_c4 = 196, _RESERVED_c5 = 197, _RESERVED_c6 = 198, _RESERVED_c7 = 199, _RESERVED_c8 = 200, _RESERVED_c9 = 201, _RESERVED_ca = 202, _RESERVED_cb = 203, _RESERVED_cc = 204, _RESERVED_cd = 205, _RESERVED_ce = 206, _RESERVED_cf = 207, _RESERVED_d0 = 208, _RESERVED_d1 = 209, _RESERVED_d2 = 210, _RESERVED_d3 = 211, _RESERVED_d4 = 212, _RESERVED_d5 = 213, _RESERVED_d6 = 214, _RESERVED_d7 = 215, _RESERVED_d8 = 216, _RESERVED_d9 = 217, _RESERVED_da = 218, _RESERVED_db = 219, _RESERVED_dc = 220, _RESERVED_dd = 221, _RESERVED_de = 222, _RESERVED_df = 223, _RESERVED_e0 = 224, _RESERVED_e1 = 225, _RESERVED_e2 = 226, _RESERVED_e3 = 227, _RESERVED_e4 = 228, _RESERVED_e5 = 229, _RESERVED_e6 = 230, _RESERVED_e7 = 231, _RESERVED_e8 = 232, _RESERVED_e9 = 233, _RESERVED_ea = 234, _RESERVED_eb = 235, _RESERVED_ec = 236, OPEN = 237, _RESERVED_ee = 238, _RESERVED_ef = 239, _RESERVED_f0 = 240, _RESERVED_f1 = 241, _RESERVED_f2 = 242, _RESERVED_f3 = 243, _RESERVED_f4 = 244, _RESERVED_f5 = 245, _RESERVED_f6 = 246, _RESERVED_f7 = 247, _RESERVED_f8 = 248, _RESERVED_f9 = 249, _RESERVED_fa = 250, _RESERVED_fb = 251, _RESERVED_fc = 252, _RESERVED_fd = 253, _RESERVED_fe = 254, _RESERVED_ff = 255,
}

Variants§

§

_RESERVED_0 = 0

§

_RESERVED_1 = 1

§

_RESERVED_2 = 2

§

_RESERVED_3 = 3

§

_RESERVED_4 = 4

§

_RESERVED_5 = 5

§

_RESERVED_6 = 6

§

_RESERVED_7 = 7

§

_RESERVED_8 = 8

§

_RESERVED_9 = 9

§

_RESERVED_a = 10

§

_RESERVED_b = 11

§

_RESERVED_c = 12

§

_RESERVED_d = 13

§

_RESERVED_e = 14

§

_RESERVED_f = 15

§

_RESERVED_10 = 16

§

_RESERVED_11 = 17

§

_RESERVED_12 = 18

§

_RESERVED_13 = 19

§

_RESERVED_14 = 20

§

_RESERVED_15 = 21

§

_RESERVED_16 = 22

§

PROVISIONING = 23

Provisioning

§

_RESERVED_18 = 24

§

_RESERVED_19 = 25

§

_RESERVED_1a = 26

§

_RESERVED_1b = 27

§

_RESERVED_1c = 28

§

_RESERVED_1d = 29

§

_RESERVED_1e = 30

§

_RESERVED_1f = 31

§

_RESERVED_20 = 32

§

_RESERVED_21 = 33

§

_RESERVED_22 = 34

§

_RESERVED_23 = 35

§

_RESERVED_24 = 36

§

_RESERVED_25 = 37

§

_RESERVED_26 = 38

§

_RESERVED_27 = 39

§

_RESERVED_28 = 40

§

_RESERVED_29 = 41

§

_RESERVED_2a = 42

§

_RESERVED_2b = 43

§

_RESERVED_2c = 44

§

_RESERVED_2d = 45

§

IROT_PROVISIONED = 46

iROT-Provisioned

§

_RESERVED_2f = 47

§

_RESERVED_30 = 48

§

_RESERVED_31 = 49

§

_RESERVED_32 = 50

§

_RESERVED_33 = 51

§

_RESERVED_34 = 52

§

_RESERVED_35 = 53

§

_RESERVED_36 = 54

§

_RESERVED_37 = 55

§

_RESERVED_38 = 56

§

_RESERVED_39 = 57

§

_RESERVED_3a = 58

§

_RESERVED_3b = 59

§

_RESERVED_3c = 60

§

_RESERVED_3d = 61

§

_RESERVED_3e = 62

§

_RESERVED_3f = 63

§

_RESERVED_40 = 64

§

_RESERVED_41 = 65

§

_RESERVED_42 = 66

§

_RESERVED_43 = 67

§

_RESERVED_44 = 68

§

_RESERVED_45 = 69

§

_RESERVED_46 = 70

§

_RESERVED_47 = 71

§

_RESERVED_48 = 72

§

_RESERVED_49 = 73

§

_RESERVED_4a = 74

§

_RESERVED_4b = 75

§

_RESERVED_4c = 76

§

_RESERVED_4d = 77

§

_RESERVED_4e = 78

§

_RESERVED_4f = 79

§

_RESERVED_50 = 80

§

_RESERVED_51 = 81

§

_RESERVED_52 = 82

§

_RESERVED_53 = 83

§

_RESERVED_54 = 84

§

_RESERVED_55 = 85

§

_RESERVED_56 = 86

§

_RESERVED_57 = 87

§

_RESERVED_58 = 88

§

_RESERVED_59 = 89

§

_RESERVED_5a = 90

§

_RESERVED_5b = 91

§

LOCKED = 92

Locked

§

_RESERVED_5d = 93

§

_RESERVED_5e = 94

§

_RESERVED_5f = 95

§

_RESERVED_60 = 96

§

_RESERVED_61 = 97

§

_RESERVED_62 = 98

§

_RESERVED_63 = 99

§

_RESERVED_64 = 100

§

_RESERVED_65 = 101

§

_RESERVED_66 = 102

§

_RESERVED_67 = 103

§

_RESERVED_68 = 104

§

_RESERVED_69 = 105

§

_RESERVED_6a = 106

§

_RESERVED_6b = 107

§

_RESERVED_6c = 108

§

_RESERVED_6d = 109

§

_RESERVED_6e = 110

§

_RESERVED_6f = 111

§

_RESERVED_70 = 112

§

_RESERVED_71 = 113

§

CLOSED = 114

Closed

§

_RESERVED_73 = 115

§

_RESERVED_74 = 116

§

_RESERVED_75 = 117

§

_RESERVED_76 = 118

§

_RESERVED_77 = 119

§

_RESERVED_78 = 120

§

_RESERVED_79 = 121

§

_RESERVED_7a = 122

§

_RESERVED_7b = 123

§

_RESERVED_7c = 124

§

_RESERVED_7d = 125

§

_RESERVED_7e = 126

§

_RESERVED_7f = 127

§

_RESERVED_80 = 128

§

_RESERVED_81 = 129

§

_RESERVED_82 = 130

§

_RESERVED_83 = 131

§

_RESERVED_84 = 132

§

_RESERVED_85 = 133

§

_RESERVED_86 = 134

§

_RESERVED_87 = 135

§

_RESERVED_88 = 136

§

_RESERVED_89 = 137

§

_RESERVED_8a = 138

§

_RESERVED_8b = 139

§

_RESERVED_8c = 140

§

_RESERVED_8d = 141

§

_RESERVED_8e = 142

§

_RESERVED_8f = 143

§

_RESERVED_90 = 144

§

_RESERVED_91 = 145

§

_RESERVED_92 = 146

§

_RESERVED_93 = 147

§

_RESERVED_94 = 148

§

_RESERVED_95 = 149

§

_RESERVED_96 = 150

§

_RESERVED_97 = 151

§

_RESERVED_98 = 152

§

_RESERVED_99 = 153

§

REGRESSION = 154

Regression

§

_RESERVED_9b = 155

§

_RESERVED_9c = 156

§

_RESERVED_9d = 157

§

_RESERVED_9e = 158

§

_RESERVED_9f = 159

§

_RESERVED_a0 = 160

§

_RESERVED_a1 = 161

§

_RESERVED_a2 = 162

§

_RESERVED_a3 = 163

§

_RESERVED_a4 = 164

§

_RESERVED_a5 = 165

§

_RESERVED_a6 = 166

§

_RESERVED_a7 = 167

§

_RESERVED_a8 = 168

§

_RESERVED_a9 = 169

§

_RESERVED_aa = 170

§

_RESERVED_ab = 171

§

_RESERVED_ac = 172

§

_RESERVED_ad = 173

§

_RESERVED_ae = 174

§

_RESERVED_af = 175

§

_RESERVED_b0 = 176

§

_RESERVED_b1 = 177

§

_RESERVED_b2 = 178

§

_RESERVED_b3 = 179

§

_RESERVED_b4 = 180

§

_RESERVED_b5 = 181

§

_RESERVED_b6 = 182

§

_RESERVED_b7 = 183

§

_RESERVED_b8 = 184

§

_RESERVED_b9 = 185

§

_RESERVED_ba = 186

§

_RESERVED_bb = 187

§

_RESERVED_bc = 188

§

_RESERVED_bd = 189

§

_RESERVED_be = 190

§

_RESERVED_bf = 191

§

_RESERVED_c0 = 192

§

_RESERVED_c1 = 193

§

_RESERVED_c2 = 194

§

_RESERVED_c3 = 195

§

_RESERVED_c4 = 196

§

_RESERVED_c5 = 197

§

_RESERVED_c6 = 198

§

_RESERVED_c7 = 199

§

_RESERVED_c8 = 200

§

_RESERVED_c9 = 201

§

_RESERVED_ca = 202

§

_RESERVED_cb = 203

§

_RESERVED_cc = 204

§

_RESERVED_cd = 205

§

_RESERVED_ce = 206

§

_RESERVED_cf = 207

§

_RESERVED_d0 = 208

§

_RESERVED_d1 = 209

§

_RESERVED_d2 = 210

§

_RESERVED_d3 = 211

§

_RESERVED_d4 = 212

§

_RESERVED_d5 = 213

§

_RESERVED_d6 = 214

§

_RESERVED_d7 = 215

§

_RESERVED_d8 = 216

§

_RESERVED_d9 = 217

§

_RESERVED_da = 218

§

_RESERVED_db = 219

§

_RESERVED_dc = 220

§

_RESERVED_dd = 221

§

_RESERVED_de = 222

§

_RESERVED_df = 223

§

_RESERVED_e0 = 224

§

_RESERVED_e1 = 225

§

_RESERVED_e2 = 226

§

_RESERVED_e3 = 227

§

_RESERVED_e4 = 228

§

_RESERVED_e5 = 229

§

_RESERVED_e6 = 230

§

_RESERVED_e7 = 231

§

_RESERVED_e8 = 232

§

_RESERVED_e9 = 233

§

_RESERVED_ea = 234

§

_RESERVED_eb = 235

§

_RESERVED_ec = 236

§

OPEN = 237

Open

§

_RESERVED_ee = 238

§

_RESERVED_ef = 239

§

_RESERVED_f0 = 240

§

_RESERVED_f1 = 241

§

_RESERVED_f2 = 242

§

_RESERVED_f3 = 243

§

_RESERVED_f4 = 244

§

_RESERVED_f5 = 245

§

_RESERVED_f6 = 246

§

_RESERVED_f7 = 247

§

_RESERVED_f8 = 248

§

_RESERVED_f9 = 249

§

_RESERVED_fa = 250

§

_RESERVED_fb = 251

§

_RESERVED_fc = 252

§

_RESERVED_fd = 253

§

_RESERVED_fe = 254

§

_RESERVED_ff = 255

Implementations§

§

impl ProductState

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

pub const fn to_bits(self) -> u8

Trait Implementations§

§

impl Clone for ProductState

§

fn clone(&self) -> ProductState

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<ProductState> for u8

§

fn from(val: ProductState) -> u8

Converts to this type from the input type.
§

impl From<u8> for ProductState

§

fn from(val: u8) -> ProductState

Converts to this type from the input type.
§

impl Ord for ProductState

§

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

§

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

§

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

§

impl Eq for ProductState

§

impl StructuralPartialEq for ProductState

Auto Trait Implementations§

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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.