Module pdm

Source
Expand description

Pulse Density Modulation (Digital Microphone) Interface

Re-exports§

pub use psel::PSEL;
pub use sample::SAMPLE;

Modules§

enable
PDM module enable register
events_end
The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM
events_started
PDM transfer has started
events_stopped
PDM transfer has finished
gainl
Left output gain adjustment
gainr
Right output gain adjustment
inten
Enable or disable interrupt
intenclr
Disable interrupt
intenset
Enable interrupt
mode
Defines the routing of the connected PDM microphones’ signals
pdmclkctrl
PDM clock generator control
psel
Cluster Unspecified
ratio
Selects the ratio between PDM_CLK and output sample rate. Change PDMCLKCTRL accordingly.
sample
Cluster Unspecified
tasks_start
Starts continuous PDM transfer
tasks_stop
Stops PDM transfer

Structs§

RegisterBlock
Register block

Type Aliases§

ENABLE
ENABLE (rw) register accessor: an alias for Reg<ENABLE_SPEC>
EVENTS_END
EVENTS_END (rw) register accessor: an alias for Reg<EVENTS_END_SPEC>
EVENTS_STARTED
EVENTS_STARTED (rw) register accessor: an alias for Reg<EVENTS_STARTED_SPEC>
EVENTS_STOPPED
EVENTS_STOPPED (rw) register accessor: an alias for Reg<EVENTS_STOPPED_SPEC>
GAINL
GAINL (rw) register accessor: an alias for Reg<GAINL_SPEC>
GAINR
GAINR (rw) register accessor: an alias for Reg<GAINR_SPEC>
INTEN
INTEN (rw) register accessor: an alias for Reg<INTEN_SPEC>
INTENCLR
INTENCLR (rw) register accessor: an alias for Reg<INTENCLR_SPEC>
INTENSET
INTENSET (rw) register accessor: an alias for Reg<INTENSET_SPEC>
MODE
MODE (rw) register accessor: an alias for Reg<MODE_SPEC>
PDMCLKCTRL
PDMCLKCTRL (rw) register accessor: an alias for Reg<PDMCLKCTRL_SPEC>
RATIO
RATIO (rw) register accessor: an alias for Reg<RATIO_SPEC>
TASKS_START
TASKS_START (w) register accessor: an alias for Reg<TASKS_START_SPEC>
TASKS_STOP
TASKS_STOP (w) register accessor: an alias for Reg<TASKS_STOP_SPEC>