Enum stm32_metapac::rcc::vals::Pllsaidivr
#[repr(u8)]pub enum Pllsaidivr {
DIV2 = 0,
DIV4 = 1,
DIV8 = 2,
DIV16 = 3,
}
Variants§
DIV2 = 0
PLLSAIDIVR = /2
DIV4 = 1
PLLSAIDIVR = /4
DIV8 = 2
PLLSAIDIVR = /8
DIV16 = 3
PLLSAIDIVR = /16
Implementations§
§impl Pllsaidivr
impl Pllsaidivr
pub const fn from_bits(val: u8) -> Pllsaidivr
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Pllsaidivr
impl Clone for Pllsaidivr
§fn clone(&self) -> Pllsaidivr
fn clone(&self) -> Pllsaidivr
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<Pllsaidivr> for u8
impl From<Pllsaidivr> for u8
§fn from(val: Pllsaidivr) -> u8
fn from(val: Pllsaidivr) -> u8
Converts to this type from the input type.
§impl From<u8> for Pllsaidivr
impl From<u8> for Pllsaidivr
§fn from(val: u8) -> Pllsaidivr
fn from(val: u8) -> Pllsaidivr
Converts to this type from the input type.
§impl Ord for Pllsaidivr
impl Ord for Pllsaidivr
§impl PartialEq for Pllsaidivr
impl PartialEq for Pllsaidivr
§fn eq(&self, other: &Pllsaidivr) -> bool
fn eq(&self, other: &Pllsaidivr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Pllsaidivr
impl PartialOrd for Pllsaidivr
§fn partial_cmp(&self, other: &Pllsaidivr) -> Option<Ordering>
fn partial_cmp(&self, other: &Pllsaidivr) -> 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 Pllsaidivr
impl Eq for Pllsaidivr
impl StructuralEq for Pllsaidivr
impl StructuralPartialEq for Pllsaidivr
Auto Trait Implementations§
impl RefUnwindSafe for Pllsaidivr
impl Send for Pllsaidivr
impl Sync for Pllsaidivr
impl Unpin for Pllsaidivr
impl UnwindSafe for Pllsaidivr
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