pub enum SWSR {
HSI,
HSE,
PLL,
HSI48,
}
Possible values of the field SWS
HSE oscillator used as system clock
HSI oscillator used as system clock
HSI48 used as system clock (when avaiable)
Value of the field as raw bits
Checks if the value of the field is HSI
Checks if the value of the field is HSE
Checks if the value of the field is PLL
Checks if the value of the field is HSI48
fn eq(&self, other: &SWSR) -> bool | |
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
| 1.0.0 [src] |
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static