#[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 PartialEq for MCKFREQ_A
impl PartialEq for MCKFREQ_A
impl Copy for MCKFREQ_A
impl StructuralPartialEq for MCKFREQ_A
Auto Trait Implementations§
impl RefUnwindSafe for MCKFREQ_A
impl Send for MCKFREQ_A
impl Sync for MCKFREQ_A
impl Unpin for MCKFREQ_A
impl UnwindSafe for MCKFREQ_A
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
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.