PDM interface driver configuration structure. More...
#include <nrfx_pdm.h>
Data Fields | |
nrf_pdm_mode_t | mode |
Interface operation mode. | |
nrf_pdm_edge_t | edge |
Sampling mode. | |
uint8_t | pin_clk |
CLK pin. | |
uint8_t | pin_din |
DIN pin. | |
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. | |
uint8_t | interrupt_priority |
Interrupt priority. | |
bool | skip_gpio_cfg |
Skip GPIO configuration of pins. More... | |
bool | skip_psel_cfg |
Skip pin selection configuration. More... | |
PDM interface driver configuration structure.
bool nrfx_pdm_config_t::skip_gpio_cfg |
Skip GPIO configuration of pins.
When set to true, the driver does not modify any GPIO parameters of the used pins. Those parameters are supposed to be configured externally before the driver is initialized.
bool nrfx_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.