Enum nrf52840_pac::i2s::config::mckfreq::MCKFREQ_A

source ·
#[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

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

impl From<MCKFREQ_A> for u32

source§

fn from(variant: MCKFREQ_A) -> Self

Converts to this type from the input type.
source§

impl PartialEq for MCKFREQ_A

source§

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

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

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

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> 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<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
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<T, U> TryFrom<U> for T
where U: Into<T>,

source§

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>,

source§

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.