Enum nrf52832_hal::pac::i2s::config::mckfreq::MCKFREQ_A[][src]

#[repr(u32)]
pub enum MCKFREQ_A {
Show variants _32MDIV2, _32MDIV3, _32MDIV4, _32MDIV5, _32MDIV6, _32MDIV8, _32MDIV10, _32MDIV11, _32MDIV15, _32MDIV16, _32MDIV21, _32MDIV23, _32MDIV30, _32MDIV31, _32MDIV32, _32MDIV42, _32MDIV63, _32MDIV125,
}
Expand description

Master clock generator frequency.

Value on reset: 536870912

Variants

_32MDIV2

2147483648: 32 MHz / 2 = 16.0 MHz

_32MDIV3

1342177280: 32 MHz / 3 = 10.6666667 MHz

_32MDIV4

1073741824: 32 MHz / 4 = 8.0 MHz

_32MDIV5

805306368: 32 MHz / 5 = 6.4 MHz

_32MDIV6

671088640: 32 MHz / 6 = 5.3333333 MHz

_32MDIV8

536870912: 32 MHz / 8 = 4.0 MHz

_32MDIV10

402653184: 32 MHz / 10 = 3.2 MHz

_32MDIV11

369098752: 32 MHz / 11 = 2.9090909 MHz

_32MDIV15

285212672: 32 MHz / 15 = 2.1333333 MHz

_32MDIV16

268435456: 32 MHz / 16 = 2.0 MHz

_32MDIV21

201326592: 32 MHz / 21 = 1.5238095

_32MDIV23

184549376: 32 MHz / 23 = 1.3913043 MHz

_32MDIV30

142606336: 32 MHz / 30 = 1.0666667 MHz

_32MDIV31

138412032: 32 MHz / 31 = 1.0322581 MHz

_32MDIV32

134217728: 32 MHz / 32 = 1.0 MHz

_32MDIV42

100663296: 32 MHz / 42 = 0.7619048 MHz

_32MDIV63

68157440: 32 MHz / 63 = 0.5079365 MHz

_32MDIV125

34340864: 32 MHz / 125 = 0.256 MHz

Trait Implementations

impl Clone for MCKFREQ_A[src]

pub fn clone(&self) -> MCKFREQ_A[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for MCKFREQ_A[src]

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

Formats the value using the given formatter. Read more

impl PartialEq<MCKFREQ_A> for MCKFREQ_A[src]

pub fn eq(&self, other: &MCKFREQ_A) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Copy for MCKFREQ_A[src]

impl StructuralPartialEq for MCKFREQ_A[src]

Auto Trait Implementations

impl Send for MCKFREQ_A

impl Sync for MCKFREQ_A

impl Unpin for MCKFREQ_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Az for T[src]

pub fn az<Dst>(self) -> Dst where
    T: Cast<Dst>, 
[src]

Casts the value.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> CheckedAs for T[src]

pub fn checked_as<Dst>(self) -> Option<Dst> where
    T: CheckedCast<Dst>, 
[src]

Casts the value.

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

pub fn lossless_try_into(self) -> Option<Dst>[src]

Performs the conversion.

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

pub fn lossy_into(self) -> Dst[src]

Performs the conversion.

impl<T> OverflowingAs for T[src]

pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
    T: OverflowingCast<Dst>, 
[src]

Casts the value.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for T[src]

pub fn saturating_as<Dst>(self) -> Dst where
    T: SaturatingCast<Dst>, 
[src]

Casts the value.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> UnwrappedAs for T[src]

pub fn unwrapped_as<Dst>(self) -> Dst where
    T: UnwrappedCast<Dst>, 
[src]

Casts the value.

impl<T> WrappingAs for T[src]

pub fn wrapping_as<Dst>(self) -> Dst where
    T: WrappingCast<Dst>, 
[src]

Casts the value.