Enum stm32_metapac::flash::vals::OptsrIoVddioHslv
#[repr(u8)]pub enum OptsrIoVddioHslv {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
High-speed IO at low VDDIO2 voltage feature disabled (VDDIO2 can exceed 2.7�V)
B_0X1 = 1
High-speed IO at low VDDIO2 voltage feature enabled (VDDIO2 remains below 2.7�V)
Implementations§
§impl OptsrIoVddioHslv
impl OptsrIoVddioHslv
pub const fn from_bits(val: u8) -> OptsrIoVddioHslv
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for OptsrIoVddioHslv
impl Clone for OptsrIoVddioHslv
§fn clone(&self) -> OptsrIoVddioHslv
fn clone(&self) -> OptsrIoVddioHslv
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<OptsrIoVddioHslv> for u8
impl From<OptsrIoVddioHslv> for u8
§fn from(val: OptsrIoVddioHslv) -> u8
fn from(val: OptsrIoVddioHslv) -> u8
Converts to this type from the input type.
§impl From<u8> for OptsrIoVddioHslv
impl From<u8> for OptsrIoVddioHslv
§fn from(val: u8) -> OptsrIoVddioHslv
fn from(val: u8) -> OptsrIoVddioHslv
Converts to this type from the input type.
§impl Ord for OptsrIoVddioHslv
impl Ord for OptsrIoVddioHslv
§fn cmp(&self, other: &OptsrIoVddioHslv) -> Ordering
fn cmp(&self, other: &OptsrIoVddioHslv) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for OptsrIoVddioHslv
impl PartialEq for OptsrIoVddioHslv
§fn eq(&self, other: &OptsrIoVddioHslv) -> bool
fn eq(&self, other: &OptsrIoVddioHslv) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for OptsrIoVddioHslv
impl PartialOrd for OptsrIoVddioHslv
§fn partial_cmp(&self, other: &OptsrIoVddioHslv) -> Option<Ordering>
fn partial_cmp(&self, other: &OptsrIoVddioHslv) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moreimpl Copy for OptsrIoVddioHslv
impl Eq for OptsrIoVddioHslv
impl StructuralEq for OptsrIoVddioHslv
impl StructuralPartialEq for OptsrIoVddioHslv
Auto Trait Implementations§
impl RefUnwindSafe for OptsrIoVddioHslv
impl Send for OptsrIoVddioHslv
impl Sync for OptsrIoVddioHslv
impl Unpin for OptsrIoVddioHslv
impl UnwindSafe for OptsrIoVddioHslv
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more