Enum stm32_metapac::rcc::vals::Pllrclkpre
#[repr(u8)]pub enum Pllrclkpre {
DIV1 = 0,
DIVIDED = 1,
}
Variants§
DIV1 = 0
pll1rclk not divided, sysclkpre = pll1rclk
DIVIDED = 1
pll1rclk divided, sysclkpre = pll1rclk divided
Implementations§
§impl Pllrclkpre
impl Pllrclkpre
pub const fn from_bits(val: u8) -> Pllrclkpre
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Pllrclkpre
impl Clone for Pllrclkpre
§fn clone(&self) -> Pllrclkpre
fn clone(&self) -> Pllrclkpre
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<Pllrclkpre> for u8
impl From<Pllrclkpre> for u8
§fn from(val: Pllrclkpre) -> u8
fn from(val: Pllrclkpre) -> u8
Converts to this type from the input type.
§impl From<u8> for Pllrclkpre
impl From<u8> for Pllrclkpre
§fn from(val: u8) -> Pllrclkpre
fn from(val: u8) -> Pllrclkpre
Converts to this type from the input type.
§impl Ord for Pllrclkpre
impl Ord for Pllrclkpre
§impl PartialEq for Pllrclkpre
impl PartialEq for Pllrclkpre
§impl PartialOrd for Pllrclkpre
impl PartialOrd for Pllrclkpre
impl Copy for Pllrclkpre
impl Eq for Pllrclkpre
impl StructuralPartialEq for Pllrclkpre
Auto Trait Implementations§
impl Freeze for Pllrclkpre
impl RefUnwindSafe for Pllrclkpre
impl Send for Pllrclkpre
impl Sync for Pllrclkpre
impl Unpin for Pllrclkpre
impl UnwindSafe for Pllrclkpre
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
)