#[repr(u8)]pub enum SmctrlClkSel {
IPBUS = 0,
EXT_CLK = 1,
AUX_CLK = 2,
_RESERVED_3 = 3,
}Variants§
IPBUS = 0
The IPBus clock is used as the clock for the local prescaler and counter.
EXT_CLK = 1
EXT_CLK is used as the clock for the local prescaler and counter.
AUX_CLK = 2
Submodule 0’s clock (AUX_CLK) is used as the source clock for the local prescaler and counter. This setting should not be used in submodule 0 as it forces the clock to logic 0.
_RESERVED_3 = 3
Implementations§
Source§impl SmctrlClkSel
impl SmctrlClkSel
Trait Implementations§
Source§impl Clone for SmctrlClkSel
impl Clone for SmctrlClkSel
Source§fn clone(&self) -> SmctrlClkSel
fn clone(&self) -> SmctrlClkSel
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 SmctrlClkSel
impl Debug for SmctrlClkSel
Source§impl From<SmctrlClkSel> for u8
impl From<SmctrlClkSel> for u8
Source§fn from(val: SmctrlClkSel) -> u8
fn from(val: SmctrlClkSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SmctrlClkSel
impl From<u8> for SmctrlClkSel
Source§fn from(val: u8) -> SmctrlClkSel
fn from(val: u8) -> SmctrlClkSel
Converts to this type from the input type.
Source§impl Ord for SmctrlClkSel
impl Ord for SmctrlClkSel
Source§fn cmp(&self, other: &SmctrlClkSel) -> Ordering
fn cmp(&self, other: &SmctrlClkSel) -> 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 SmctrlClkSel
impl PartialEq for SmctrlClkSel
Source§impl PartialOrd for SmctrlClkSel
impl PartialOrd for SmctrlClkSel
impl Copy for SmctrlClkSel
impl Eq for SmctrlClkSel
impl StructuralPartialEq for SmctrlClkSel
Auto Trait Implementations§
impl Freeze for SmctrlClkSel
impl RefUnwindSafe for SmctrlClkSel
impl Send for SmctrlClkSel
impl Sync for SmctrlClkSel
impl Unpin for SmctrlClkSel
impl UnwindSafe for SmctrlClkSel
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