Enum nrf5340_app_pac::pdm0_ns::pdmclkctrl::FREQ_A
source · [−]#[repr(u32)]
pub enum FREQ_A {
_1000K,
DEFAULT,
_1067K,
_1231K,
_1280K,
_1333K,
}
Expand description
PDM_CLK frequency configuration. Enumerations are deprecated, use PDMCLKCTRL equation to find the register value. The 12 least significant bits of the register are ignored and shall be set to zero.
Value on reset: 138412032
Variants
_1000K
134217728: PDM_CLK = 32 MHz / 32 = 1.000 MHz
DEFAULT
138412032: PDM_CLK = 32 MHz / 31 = 1.032 MHz. Nominal clock for RATIO=Ratio64.
_1067K
142606336: PDM_CLK = 32 MHz / 30 = 1.067 MHz
_1231K
159383552: PDM_CLK = 32 MHz / 26 = 1.231 MHz
_1280K
167772160: PDM_CLK = 32 MHz / 25 = 1.280 MHz. Nominal clock for RATIO=Ratio80.
_1333K
176160768: PDM_CLK = 32 MHz / 24 = 1.333 MHz
Trait Implementations
impl Copy for FREQ_A
impl StructuralPartialEq for FREQ_A
Auto Trait Implementations
impl RefUnwindSafe for FREQ_A
impl Send for FREQ_A
impl Sync for FREQ_A
impl Unpin for FREQ_A
impl UnwindSafe for FREQ_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more