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