embassy-nrf

Crates

0.2.0

Versions

nrf5340-app-ns

Flavors

Module pdm

Source
Expand description

Pulse Density Modulation (PDM) microphone driver

Structs§

Config
PDM microphone driver Config
InterruptHandler
Interrupt handler
Pdm
PDM microphone interface

Enums§

Edge
PDM edge polarity
Error
PDM error
Frequency
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.
OperationMode
PDM operation mode
Ratio
Selects the ratio between PDM_CLK and output sample rate
SamplerState
The state of a continuously running sampler. While it reflects the progress of a sampler, it also signals what should be done next. For example, if the sampler has stopped then the PDM implementation can then tear down its infrastructure

Traits§

Instance
PDM peripheral instance