#[repr(u8)]pub enum Misc0SetClkgateCtrl {
ALLOW_AUTO_GATE = 0,
NO_AUTO_GATE = 1,
}Variants§
ALLOW_AUTO_GATE = 0
Allow the logic to automatically gate the clock when the XTAL is powered down.
NO_AUTO_GATE = 1
Prevent the logic from ever gating off the clock.
Implementations§
Trait Implementations§
Source§impl Clone for Misc0SetClkgateCtrl
impl Clone for Misc0SetClkgateCtrl
Source§fn clone(&self) -> Misc0SetClkgateCtrl
fn clone(&self) -> Misc0SetClkgateCtrl
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 Misc0SetClkgateCtrl
impl Debug for Misc0SetClkgateCtrl
Source§impl From<Misc0SetClkgateCtrl> for u8
impl From<Misc0SetClkgateCtrl> for u8
Source§fn from(val: Misc0SetClkgateCtrl) -> u8
fn from(val: Misc0SetClkgateCtrl) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Misc0SetClkgateCtrl
impl From<u8> for Misc0SetClkgateCtrl
Source§fn from(val: u8) -> Misc0SetClkgateCtrl
fn from(val: u8) -> Misc0SetClkgateCtrl
Converts to this type from the input type.
Source§impl Ord for Misc0SetClkgateCtrl
impl Ord for Misc0SetClkgateCtrl
Source§fn cmp(&self, other: &Misc0SetClkgateCtrl) -> Ordering
fn cmp(&self, other: &Misc0SetClkgateCtrl) -> 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 Misc0SetClkgateCtrl
impl PartialEq for Misc0SetClkgateCtrl
Source§impl PartialOrd for Misc0SetClkgateCtrl
impl PartialOrd for Misc0SetClkgateCtrl
impl Copy for Misc0SetClkgateCtrl
impl Eq for Misc0SetClkgateCtrl
impl StructuralPartialEq for Misc0SetClkgateCtrl
Auto Trait Implementations§
impl Freeze for Misc0SetClkgateCtrl
impl RefUnwindSafe for Misc0SetClkgateCtrl
impl Send for Misc0SetClkgateCtrl
impl Sync for Misc0SetClkgateCtrl
impl Unpin for Misc0SetClkgateCtrl
impl UnwindSafe for Misc0SetClkgateCtrl
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