Enum stm32_metapac::rcc::vals::EthphyClkSel
#[repr(u8)]pub enum EthphyClkSel {
HSE = 0,
PLL3_S = 1,
}
Variants§
HSE = 0
hse_ker_ck selected as clock source (default after reset).
PLL3_S = 1
pll3_s_ck selected clock source.
Implementations§
§impl EthphyClkSel
impl EthphyClkSel
pub const fn from_bits(val: u8) -> EthphyClkSel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for EthphyClkSel
impl Clone for EthphyClkSel
§fn clone(&self) -> EthphyClkSel
fn clone(&self) -> EthphyClkSel
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<EthphyClkSel> for u8
impl From<EthphyClkSel> for u8
§fn from(val: EthphyClkSel) -> u8
fn from(val: EthphyClkSel) -> u8
Converts to this type from the input type.
§impl From<u8> for EthphyClkSel
impl From<u8> for EthphyClkSel
§fn from(val: u8) -> EthphyClkSel
fn from(val: u8) -> EthphyClkSel
Converts to this type from the input type.
§impl Ord for EthphyClkSel
impl Ord for EthphyClkSel
§impl PartialEq for EthphyClkSel
impl PartialEq for EthphyClkSel
§impl PartialOrd for EthphyClkSel
impl PartialOrd for EthphyClkSel
impl Copy for EthphyClkSel
impl Eq for EthphyClkSel
impl StructuralPartialEq for EthphyClkSel
Auto Trait Implementations§
impl Freeze for EthphyClkSel
impl RefUnwindSafe for EthphyClkSel
impl Send for EthphyClkSel
impl Sync for EthphyClkSel
impl Unpin for EthphyClkSel
impl UnwindSafe for EthphyClkSel
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
)