Struct mcxn947_pac::PDM
source · pub struct PDM { /* private fields */ }
Expand description
MICFIL
Implementations§
source§impl PDM
impl PDM
sourcepub const PTR: *const RegisterBlock = {0x4010c000 as *const pdm::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x4010c000 as *const pdm::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn datach_iter(&self) -> impl Iterator<Item = &DATACH>
pub fn datach_iter(&self) -> impl Iterator<Item = &DATACH>
Iterator for array of: 0x24..0x34 - MICFIL Output Result
sourcepub fn dc_out_ctrl(&self) -> &DC_OUT_CTRL
pub fn dc_out_ctrl(&self) -> &DC_OUT_CTRL
0x68 - MICFIL Output DC Remover Control
sourcepub fn range_ctrl(&self) -> &RANGE_CTRL
pub fn range_ctrl(&self) -> &RANGE_CTRL
0x74 - MICFIL Range Control
sourcepub fn range_stat(&self) -> &RANGE_STAT
pub fn range_stat(&self) -> &RANGE_STAT
0x7c - MICFIL Range Status
sourcepub fn fsync_ctrl(&self) -> &FSYNC_CTRL
pub fn fsync_ctrl(&self) -> &FSYNC_CTRL
0x80 - Frame Synchronization Control