#[repr(u32)]
pub enum MCKFREQ_A {
Show 18 variants _32MDIV2 = 2_147_483_648, _32MDIV3 = 1_342_177_280, _32MDIV4 = 1_073_741_824, _32MDIV5 = 805_306_368, _32MDIV6 = 671_088_640, _32MDIV8 = 536_870_912, _32MDIV10 = 402_653_184, _32MDIV11 = 369_098_752, _32MDIV15 = 285_212_672, _32MDIV16 = 268_435_456, _32MDIV21 = 201_326_592, _32MDIV23 = 184_549_376, _32MDIV30 = 142_606_336, _32MDIV31 = 138_412_032, _32MDIV32 = 134_217_728, _32MDIV42 = 100_663_296, _32MDIV63 = 68_157_440, _32MDIV125 = 34_340_864,
}
Expand description

Master clock generator frequency.

Value on reset: 536870912

Variants§

§

_32MDIV2 = 2_147_483_648

2147483648: 32 MHz / 2 = 16.0 MHz

§

_32MDIV3 = 1_342_177_280

1342177280: 32 MHz / 3 = 10.6666667 MHz

§

_32MDIV4 = 1_073_741_824

1073741824: 32 MHz / 4 = 8.0 MHz

§

_32MDIV5 = 805_306_368

805306368: 32 MHz / 5 = 6.4 MHz

§

_32MDIV6 = 671_088_640

671088640: 32 MHz / 6 = 5.3333333 MHz

§

_32MDIV8 = 536_870_912

536870912: 32 MHz / 8 = 4.0 MHz

§

_32MDIV10 = 402_653_184

402653184: 32 MHz / 10 = 3.2 MHz

§

_32MDIV11 = 369_098_752

369098752: 32 MHz / 11 = 2.9090909 MHz

§

_32MDIV15 = 285_212_672

285212672: 32 MHz / 15 = 2.1333333 MHz

§

_32MDIV16 = 268_435_456

268435456: 32 MHz / 16 = 2.0 MHz

§

_32MDIV21 = 201_326_592

201326592: 32 MHz / 21 = 1.5238095

§

_32MDIV23 = 184_549_376

184549376: 32 MHz / 23 = 1.3913043 MHz

§

_32MDIV30 = 142_606_336

142606336: 32 MHz / 30 = 1.0666667 MHz

§

_32MDIV31 = 138_412_032

138412032: 32 MHz / 31 = 1.0322581 MHz

§

_32MDIV32 = 134_217_728

134217728: 32 MHz / 32 = 1.0 MHz

§

_32MDIV42 = 100_663_296

100663296: 32 MHz / 42 = 0.7619048 MHz

§

_32MDIV63 = 68_157_440

68157440: 32 MHz / 63 = 0.5079365 MHz

§

_32MDIV125 = 34_340_864

34340864: 32 MHz / 125 = 0.256 MHz

Trait Implementations§

source§

impl Clone for MCKFREQ_A

source§

fn clone(&self) -> MCKFREQ_A

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MCKFREQ_A

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl PartialEq for MCKFREQ_A

source§

fn eq(&self, other: &MCKFREQ_A) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for MCKFREQ_A

source§

impl StructuralPartialEq for MCKFREQ_A

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Az for T

source§

fn az<Dst>(self) -> Dst
where T: Cast<Dst>,

Casts the value.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Src, Dst> CastFrom<Src> for Dst
where Src: Cast<Dst>,

source§

fn cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> CheckedAs for T

source§

fn checked_as<Dst>(self) -> Option<Dst>
where T: CheckedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> CheckedCastFrom<Src> for Dst
where Src: CheckedCast<Dst>,

source§

fn checked_cast_from(src: Src) -> Option<Dst>

Casts the value.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Src, Dst> LosslessTryInto<Dst> for Src
where Dst: LosslessTryFrom<Src>,

source§

fn lossless_try_into(self) -> Option<Dst>

Performs the conversion.
source§

impl<Src, Dst> LossyInto<Dst> for Src
where Dst: LossyFrom<Src>,

source§

fn lossy_into(self) -> Dst

Performs the conversion.
source§

impl<T> OverflowingAs for T

source§

fn overflowing_as<Dst>(self) -> (Dst, bool)
where T: OverflowingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> OverflowingCastFrom<Src> for Dst
where Src: OverflowingCast<Dst>,

source§

fn overflowing_cast_from(src: Src) -> (Dst, bool)

Casts the value.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> SaturatingAs for T

source§

fn saturating_as<Dst>(self) -> Dst
where T: SaturatingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> SaturatingCastFrom<Src> for Dst
where Src: SaturatingCast<Dst>,

source§

fn saturating_cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> UnwrappedAs for T

source§

fn unwrapped_as<Dst>(self) -> Dst
where T: UnwrappedCast<Dst>,

Casts the value.
source§

impl<Src, Dst> UnwrappedCastFrom<Src> for Dst
where Src: UnwrappedCast<Dst>,

source§

fn unwrapped_cast_from(src: Src) -> Dst

Casts the value.
source§

impl<T> WrappingAs for T

source§

fn wrapping_as<Dst>(self) -> Dst
where T: WrappingCast<Dst>,

Casts the value.
source§

impl<Src, Dst> WrappingCastFrom<Src> for Dst
where Src: WrappingCast<Dst>,

source§

fn wrapping_cast_from(src: Src) -> Dst

Casts the value.