nrfx 3.3
Data Fields
nrfy_pdm_config_t Struct Reference

PDM configuration structure. More...

#include <nrfy_pdm.h>

Data Fields

nrf_pdm_mode_t mode
 Interface operation mode.
 
nrf_pdm_edge_t edge
 Sampling mode.
 
nrfy_pdm_pins_t pins
 Pin configuration structure.
 
nrf_pdm_freq_t clock_freq
 Clock frequency.
 
nrf_pdm_gain_t gain_l
 Left channel gain.
 
nrf_pdm_gain_t gain_r
 Right channel gain.
 
bool skip_psel_cfg
 Skip pin selection configuration.
 

Detailed Description

PDM configuration structure.

Field Documentation

◆ skip_psel_cfg

bool nrfy_pdm_config_t::skip_psel_cfg

Skip pin selection configuration.

When set to true, the driver does not modify pin select registers in the peripheral. Those registers are supposed to be set up externally before the driver is initialized.

Note
When both GPIO configuration and pin selection are to be skipped, the structure fields that specify pins can be omitted, as they are ignored anyway.

The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated