Enum stm32_metapac::rcc::vals::Pllsaidivq
#[repr(u8)]pub enum Pllsaidivq {
Show 32 variants
DIV1 = 0,
DIV2 = 1,
DIV3 = 2,
DIV4 = 3,
DIV5 = 4,
DIV6 = 5,
DIV7 = 6,
DIV8 = 7,
DIV9 = 8,
DIV10 = 9,
DIV11 = 10,
DIV12 = 11,
DIV13 = 12,
DIV14 = 13,
DIV15 = 14,
DIV16 = 15,
DIV17 = 16,
DIV18 = 17,
DIV19 = 18,
DIV20 = 19,
DIV21 = 20,
DIV22 = 21,
DIV23 = 22,
DIV24 = 23,
DIV25 = 24,
DIV26 = 25,
DIV27 = 26,
DIV28 = 27,
DIV29 = 28,
DIV30 = 29,
DIV31 = 30,
DIV32 = 31,
}
Variants§
DIV1 = 0
PLLSAIDIVQ = /1
DIV2 = 1
PLLSAIDIVQ = /2
DIV3 = 2
PLLSAIDIVQ = /3
DIV4 = 3
PLLSAIDIVQ = /4
DIV5 = 4
PLLSAIDIVQ = /5
DIV6 = 5
PLLSAIDIVQ = /6
DIV7 = 6
PLLSAIDIVQ = /7
DIV8 = 7
PLLSAIDIVQ = /8
DIV9 = 8
PLLSAIDIVQ = /9
DIV10 = 9
PLLSAIDIVQ = /10
DIV11 = 10
PLLSAIDIVQ = /11
DIV12 = 11
PLLSAIDIVQ = /12
DIV13 = 12
PLLSAIDIVQ = /13
DIV14 = 13
PLLSAIDIVQ = /14
DIV15 = 14
PLLSAIDIVQ = /15
DIV16 = 15
PLLSAIDIVQ = /16
DIV17 = 16
PLLSAIDIVQ = /17
DIV18 = 17
PLLSAIDIVQ = /18
DIV19 = 18
PLLSAIDIVQ = /19
DIV20 = 19
PLLSAIDIVQ = /20
DIV21 = 20
PLLSAIDIVQ = /21
DIV22 = 21
PLLSAIDIVQ = /22
DIV23 = 22
PLLSAIDIVQ = /23
DIV24 = 23
PLLSAIDIVQ = /24
DIV25 = 24
PLLSAIDIVQ = /25
DIV26 = 25
PLLSAIDIVQ = /26
DIV27 = 26
PLLSAIDIVQ = /27
DIV28 = 27
PLLSAIDIVQ = /28
DIV29 = 28
PLLSAIDIVQ = /29
DIV30 = 29
PLLSAIDIVQ = /30
DIV31 = 30
PLLSAIDIVQ = /31
DIV32 = 31
PLLSAIDIVQ = /32
Implementations§
§impl Pllsaidivq
impl Pllsaidivq
pub const fn from_bits(val: u8) -> Pllsaidivq
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Pllsaidivq
impl Clone for Pllsaidivq
§fn clone(&self) -> Pllsaidivq
fn clone(&self) -> Pllsaidivq
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<Pllsaidivq> for u8
impl From<Pllsaidivq> for u8
§fn from(val: Pllsaidivq) -> u8
fn from(val: Pllsaidivq) -> u8
Converts to this type from the input type.
§impl From<u8> for Pllsaidivq
impl From<u8> for Pllsaidivq
§fn from(val: u8) -> Pllsaidivq
fn from(val: u8) -> Pllsaidivq
Converts to this type from the input type.
§impl Ord for Pllsaidivq
impl Ord for Pllsaidivq
§impl PartialEq for Pllsaidivq
impl PartialEq for Pllsaidivq
§fn eq(&self, other: &Pllsaidivq) -> bool
fn eq(&self, other: &Pllsaidivq) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Pllsaidivq
impl PartialOrd for Pllsaidivq
§fn partial_cmp(&self, other: &Pllsaidivq) -> Option<Ordering>
fn partial_cmp(&self, other: &Pllsaidivq) -> 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 Pllsaidivq
impl Eq for Pllsaidivq
impl StructuralEq for Pllsaidivq
impl StructuralPartialEq for Pllsaidivq
Auto Trait Implementations§
impl RefUnwindSafe for Pllsaidivq
impl Send for Pllsaidivq
impl Sync for Pllsaidivq
impl Unpin for Pllsaidivq
impl UnwindSafe for Pllsaidivq
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