#[repr(u8)]pub enum Misc0ClkgateCtrl {
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 Misc0ClkgateCtrl
impl Clone for Misc0ClkgateCtrl
Source§fn clone(&self) -> Misc0ClkgateCtrl
fn clone(&self) -> Misc0ClkgateCtrl
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 Misc0ClkgateCtrl
impl Debug for Misc0ClkgateCtrl
Source§impl From<Misc0ClkgateCtrl> for u8
impl From<Misc0ClkgateCtrl> for u8
Source§fn from(val: Misc0ClkgateCtrl) -> u8
fn from(val: Misc0ClkgateCtrl) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Misc0ClkgateCtrl
impl From<u8> for Misc0ClkgateCtrl
Source§fn from(val: u8) -> Misc0ClkgateCtrl
fn from(val: u8) -> Misc0ClkgateCtrl
Converts to this type from the input type.
Source§impl Ord for Misc0ClkgateCtrl
impl Ord for Misc0ClkgateCtrl
Source§fn cmp(&self, other: &Misc0ClkgateCtrl) -> Ordering
fn cmp(&self, other: &Misc0ClkgateCtrl) -> 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 Misc0ClkgateCtrl
impl PartialEq for Misc0ClkgateCtrl
Source§impl PartialOrd for Misc0ClkgateCtrl
impl PartialOrd for Misc0ClkgateCtrl
impl Copy for Misc0ClkgateCtrl
impl Eq for Misc0ClkgateCtrl
impl StructuralPartialEq for Misc0ClkgateCtrl
Auto Trait Implementations§
impl Freeze for Misc0ClkgateCtrl
impl RefUnwindSafe for Misc0ClkgateCtrl
impl Send for Misc0ClkgateCtrl
impl Sync for Misc0ClkgateCtrl
impl Unpin for Misc0ClkgateCtrl
impl UnwindSafe for Misc0ClkgateCtrl
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