PDM interface driver configuration structure. More...
#include <nrf_drv_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. | |
uint16_t | buffer_length |
Length of a single buffer (in 16-bit words). | |
int16_t * | buffer_a |
Sample buffer A (filled first). | |
int16_t * | buffer_b |
Sample buffer B (filled after buffer A). | |
PDM interface driver configuration structure.