#[repr(u8)]pub enum UartClkSel {
UART_CLK_SEL_0 = 0,
UART_CLK_SEL_1 = 1,
UART_CLK_SEL_2 = 2,
_RESERVED_3 = 3,
}Variants§
UART_CLK_SEL_0 = 0
derive clock from pll3_80m
UART_CLK_SEL_1 = 1
derive clock from osc_clk
UART_CLK_SEL_2 = 2
derive clock from per_clk_root
_RESERVED_3 = 3
Implementations§
Source§impl UartClkSel
impl UartClkSel
Trait Implementations§
Source§impl Clone for UartClkSel
impl Clone for UartClkSel
Source§fn clone(&self) -> UartClkSel
fn clone(&self) -> UartClkSel
Returns a duplicate 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 moreSource§impl Debug for UartClkSel
impl Debug for UartClkSel
Source§impl From<UartClkSel> for u8
impl From<UartClkSel> for u8
Source§fn from(val: UartClkSel) -> u8
fn from(val: UartClkSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for UartClkSel
impl From<u8> for UartClkSel
Source§fn from(val: u8) -> UartClkSel
fn from(val: u8) -> UartClkSel
Converts to this type from the input type.
Source§impl Ord for UartClkSel
impl Ord for UartClkSel
Source§fn cmp(&self, other: &UartClkSel) -> Ordering
fn cmp(&self, other: &UartClkSel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UartClkSel
impl PartialEq for UartClkSel
Source§impl PartialOrd for UartClkSel
impl PartialOrd for UartClkSel
impl Copy for UartClkSel
impl Eq for UartClkSel
impl StructuralPartialEq for UartClkSel
Auto Trait Implementations§
impl Freeze for UartClkSel
impl RefUnwindSafe for UartClkSel
impl Send for UartClkSel
impl Sync for UartClkSel
impl Unpin for UartClkSel
impl UnwindSafe for UartClkSel
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