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
§impl PartialOrd for Pllsaidivr
impl PartialOrd for Pllsaidivr
impl Copy for Pllsaidivr
impl Eq for Pllsaidivr
impl StructuralPartialEq for Pllsaidivr
Auto Trait Implementations§
impl Freeze for Pllsaidivr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)