CHANNEL_OSR - Oversample Rate | |
| #define | DMIC_CHANNEL_OSR_OSR_MASK |
| #define | DMIC_CHANNEL_OSR_OSR_SHIFT |
| #define | DMIC_CHANNEL_OSR_OSR(x) |
| #define | DMIC_CHANNEL_OSR_OSR_MASK |
| #define | DMIC_CHANNEL_OSR_OSR_SHIFT |
| #define | DMIC_CHANNEL_OSR_OSR(x) |
CHANNEL_DIVHFCLK - DMIC Clock | |
| #define | DMIC_CHANNEL_DIVHFCLK_PDMDIV_MASK |
| #define | DMIC_CHANNEL_DIVHFCLK_PDMDIV_SHIFT |
| #define | DMIC_CHANNEL_DIVHFCLK_PDMDIV(x) |
| #define | DMIC_CHANNEL_DIVHFCLK_PDMDIV_MASK |
| #define | DMIC_CHANNEL_DIVHFCLK_PDMDIV_SHIFT |
| #define | DMIC_CHANNEL_DIVHFCLK_PDMDIV(x) |
CHANNEL_PREAC2FSCOEF - Compensation Filter for 2 FS | |
| #define | DMIC_CHANNEL_PREAC2FSCOEF_COMP_MASK |
| #define | DMIC_CHANNEL_PREAC2FSCOEF_COMP_SHIFT |
| #define | DMIC_CHANNEL_PREAC2FSCOEF_COMP(x) |
| #define | DMIC_CHANNEL_PREAC2FSCOEF_COMP_MASK |
| #define | DMIC_CHANNEL_PREAC2FSCOEF_COMP_SHIFT |
| #define | DMIC_CHANNEL_PREAC2FSCOEF_COMP(x) |
CHANNEL_PREAC4FSCOEF - Compensation Filter for 4 FS | |
| #define | DMIC_CHANNEL_PREAC4FSCOEF_COMP_MASK |
| #define | DMIC_CHANNEL_PREAC4FSCOEF_COMP_SHIFT |
| #define | DMIC_CHANNEL_PREAC4FSCOEF_COMP(x) |
| #define | DMIC_CHANNEL_PREAC4FSCOEF_COMP_MASK |
| #define | DMIC_CHANNEL_PREAC4FSCOEF_COMP_SHIFT |
| #define | DMIC_CHANNEL_PREAC4FSCOEF_COMP(x) |
CHANNEL_GAINSHIFT - Decimator Gain Shift | |
| #define | DMIC_CHANNEL_GAINSHIFT_GAIN_MASK |
| #define | DMIC_CHANNEL_GAINSHIFT_GAIN_SHIFT |
| #define | DMIC_CHANNEL_GAINSHIFT_GAIN(x) |
| #define | DMIC_CHANNEL_GAINSHIFT_GAIN_MASK |
| #define | DMIC_CHANNEL_GAINSHIFT_GAIN_SHIFT |
| #define | DMIC_CHANNEL_GAINSHIFT_GAIN(x) |
CHANNEL_FIFO_CTRL - FIFO Control | |
| #define | DMIC_CHANNEL_FIFO_CTRL_ENABLE_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_ENABLE_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_ENABLE(x) |
| #define | DMIC_CHANNEL_FIFO_CTRL_RESETN_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_RESETN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_RESETN(x) |
| #define | DMIC_CHANNEL_FIFO_CTRL_INTEN_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_INTEN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_INTEN(x) |
| #define | DMIC_CHANNEL_FIFO_CTRL_DMAEN_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_DMAEN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_DMAEN(x) |
| #define | DMIC_CHANNEL_FIFO_CTRL_TRIGLVL_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_TRIGLVL_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_TRIGLVL(x) |
| #define | DMIC_CHANNEL_FIFO_CTRL_ENABLE_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_ENABLE_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_ENABLE(x) |
| #define | DMIC_CHANNEL_FIFO_CTRL_RESETN_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_RESETN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_RESETN(x) |
| #define | DMIC_CHANNEL_FIFO_CTRL_INTEN_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_INTEN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_INTEN(x) |
| #define | DMIC_CHANNEL_FIFO_CTRL_DMAEN_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_DMAEN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_DMAEN(x) |
| #define | DMIC_CHANNEL_FIFO_CTRL_TRIGLVL_MASK |
| #define | DMIC_CHANNEL_FIFO_CTRL_TRIGLVL_SHIFT |
| #define | DMIC_CHANNEL_FIFO_CTRL_TRIGLVL(x) |
CHANNEL_FIFO_STATUS - FIFO Status | |
| #define | DMIC_CHANNEL_FIFO_STATUS_INT_MASK |
| #define | DMIC_CHANNEL_FIFO_STATUS_INT_SHIFT |
| #define | DMIC_CHANNEL_FIFO_STATUS_INT(x) |
| #define | DMIC_CHANNEL_FIFO_STATUS_OVERRUN_MASK |
| #define | DMIC_CHANNEL_FIFO_STATUS_OVERRUN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_STATUS_OVERRUN(x) |
| #define | DMIC_CHANNEL_FIFO_STATUS_UNDERRUN_MASK |
| #define | DMIC_CHANNEL_FIFO_STATUS_UNDERRUN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_STATUS_UNDERRUN(x) |
| #define | DMIC_CHANNEL_FIFO_STATUS_INT_MASK |
| #define | DMIC_CHANNEL_FIFO_STATUS_INT_SHIFT |
| #define | DMIC_CHANNEL_FIFO_STATUS_INT(x) |
| #define | DMIC_CHANNEL_FIFO_STATUS_OVERRUN_MASK |
| #define | DMIC_CHANNEL_FIFO_STATUS_OVERRUN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_STATUS_OVERRUN(x) |
| #define | DMIC_CHANNEL_FIFO_STATUS_UNDERRUN_MASK |
| #define | DMIC_CHANNEL_FIFO_STATUS_UNDERRUN_SHIFT |
| #define | DMIC_CHANNEL_FIFO_STATUS_UNDERRUN(x) |
CHANNEL_FIFO_DATA - FIFO Data | |
| #define | DMIC_CHANNEL_FIFO_DATA_DATA_MASK |
| #define | DMIC_CHANNEL_FIFO_DATA_DATA_SHIFT |
| #define | DMIC_CHANNEL_FIFO_DATA_DATA(x) |
| #define | DMIC_CHANNEL_FIFO_DATA_DATA_MASK |
| #define | DMIC_CHANNEL_FIFO_DATA_DATA_SHIFT |
| #define | DMIC_CHANNEL_FIFO_DATA_DATA(x) |
CHANNEL_PHY_CTRL - Physical Control | |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_FALL_MASK |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_FALL_SHIFT |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_FALL(x) |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_HALF_MASK |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_HALF_SHIFT |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_HALF(x) |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_FALL_MASK |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_FALL_SHIFT |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_FALL(x) |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_HALF_MASK |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_HALF_SHIFT |
| #define | DMIC_CHANNEL_PHY_CTRL_PHY_HALF(x) |
CHANNEL_DC_CTRL - DC Filter Control | |
| #define | DMIC_CHANNEL_DC_CTRL_DCPOLE_MASK |
| #define | DMIC_CHANNEL_DC_CTRL_DCPOLE_SHIFT |
| #define | DMIC_CHANNEL_DC_CTRL_DCPOLE(x) |
| #define | DMIC_CHANNEL_DC_CTRL_DCGAIN_MASK |
| #define | DMIC_CHANNEL_DC_CTRL_DCGAIN_SHIFT |
| #define | DMIC_CHANNEL_DC_CTRL_DCGAIN(x) |
| #define | DMIC_CHANNEL_DC_CTRL_SATURATEAT16BIT_MASK |
| #define | DMIC_CHANNEL_DC_CTRL_SATURATEAT16BIT_SHIFT |
| #define | DMIC_CHANNEL_DC_CTRL_SATURATEAT16BIT(x) |
| #define | DMIC_CHANNEL_DC_CTRL_SIGNEXTEND_MASK |
| #define | DMIC_CHANNEL_DC_CTRL_SIGNEXTEND_SHIFT |
| #define | DMIC_CHANNEL_DC_CTRL_SIGNEXTEND(x) |
| #define | DMIC_CHANNEL_DC_CTRL_DCPOLE_MASK |
| #define | DMIC_CHANNEL_DC_CTRL_DCPOLE_SHIFT |
| #define | DMIC_CHANNEL_DC_CTRL_DCPOLE(x) |
| #define | DMIC_CHANNEL_DC_CTRL_DCGAIN_MASK |
| #define | DMIC_CHANNEL_DC_CTRL_DCGAIN_SHIFT |
| #define | DMIC_CHANNEL_DC_CTRL_DCGAIN(x) |
| #define | DMIC_CHANNEL_DC_CTRL_SATURATEAT16BIT_MASK |
| #define | DMIC_CHANNEL_DC_CTRL_SATURATEAT16BIT_SHIFT |
| #define | DMIC_CHANNEL_DC_CTRL_SATURATEAT16BIT(x) |
| #define | DMIC_CHANNEL_DC_CTRL_SIGNEXTEND_MASK |
| #define | DMIC_CHANNEL_DC_CTRL_SIGNEXTEND_SHIFT |
| #define | DMIC_CHANNEL_DC_CTRL_SIGNEXTEND(x) |
CHANEN - Channel Enable | |
| #define | DMIC_CHANEN_EN_CH0_MASK |
| #define | DMIC_CHANEN_EN_CH0_SHIFT |
| #define | DMIC_CHANEN_EN_CH0(x) |
| #define | DMIC_CHANEN_EN_CH1_MASK |
| #define | DMIC_CHANEN_EN_CH1_SHIFT |
| #define | DMIC_CHANEN_EN_CH1(x) |
| #define | DMIC_CHANEN_EN_CH0_MASK |
| #define | DMIC_CHANEN_EN_CH0_SHIFT |
| #define | DMIC_CHANEN_EN_CH0(x) |
| #define | DMIC_CHANEN_EN_CH1_MASK |
| #define | DMIC_CHANEN_EN_CH1_SHIFT |
| #define | DMIC_CHANEN_EN_CH1(x) |
| #define | DMIC_CHANEN_EN_CH2_MASK |
| #define | DMIC_CHANEN_EN_CH2_SHIFT |
| #define | DMIC_CHANEN_EN_CH2(x) |
| #define | DMIC_CHANEN_EN_CH3_MASK |
| #define | DMIC_CHANEN_EN_CH3_SHIFT |
| #define | DMIC_CHANEN_EN_CH3(x) |
USE2FS - Use 2 FS register | |
| #define | DMIC_USE2FS_USE2FS_MASK |
| #define | DMIC_USE2FS_USE2FS_SHIFT |
| #define | DMIC_USE2FS_USE2FS(x) |
| #define | DMIC_USE2FS_USE2FS_MASK |
| #define | DMIC_USE2FS_USE2FS_SHIFT |
| #define | DMIC_USE2FS_USE2FS(x) |
GLOBAL_SYNC_EN - Global Channel Synchronization Enable | |
| #define | DMIC_GLOBAL_SYNC_EN_CH_SYNC_EN_MASK |
| #define | DMIC_GLOBAL_SYNC_EN_CH_SYNC_EN_SHIFT |
| #define | DMIC_GLOBAL_SYNC_EN_CH_SYNC_EN(x) |
GLOBAL_COUNT_VAL - Global channel synchronization counter value | |
| #define | DMIC_GLOBAL_COUNT_VAL_CCOUNTVAL_MASK |
| #define | DMIC_GLOBAL_COUNT_VAL_CCOUNTVAL_SHIFT |
| #define | DMIC_GLOBAL_COUNT_VAL_CCOUNTVAL(x) |
| #define | DMIC_GLOBAL_COUNT_VAL_CCOUNTVAL_MASK |
| #define | DMIC_GLOBAL_COUNT_VAL_CCOUNTVAL_SHIFT |
| #define | DMIC_GLOBAL_COUNT_VAL_CCOUNTVAL(x) |
DECRESET - DMIC decimator reset | |
| #define | DMIC_DECRESET_DECRESET_MASK |
| #define | DMIC_DECRESET_DECRESET_SHIFT |
| #define | DMIC_DECRESET_DECRESET(x) |
| #define | DMIC_DECRESET_DECRESET_MASK |
| #define | DMIC_DECRESET_DECRESET_SHIFT |
| #define | DMIC_DECRESET_DECRESET(x) |
HWVADGAIN - HWVAD Input Gain | |
| #define | DMIC_HWVADGAIN_INPUTGAIN_MASK |
| #define | DMIC_HWVADGAIN_INPUTGAIN_SHIFT |
| #define | DMIC_HWVADGAIN_INPUTGAIN(x) |
| #define | DMIC_HWVADGAIN_INPUTGAIN_MASK |
| #define | DMIC_HWVADGAIN_INPUTGAIN_SHIFT |
| #define | DMIC_HWVADGAIN_INPUTGAIN(x) |
HWVADHPFS - HWVAD Filter Control | |
| #define | DMIC_HWVADHPFS_HPFS_MASK |
| #define | DMIC_HWVADHPFS_HPFS_SHIFT |
| #define | DMIC_HWVADHPFS_HPFS(x) |
| #define | DMIC_HWVADHPFS_HPFS_MASK |
| #define | DMIC_HWVADHPFS_HPFS_SHIFT |
| #define | DMIC_HWVADHPFS_HPFS(x) |
HWVADST10 - HWVAD Control | |
| #define | DMIC_HWVADST10_ST10_MASK |
| #define | DMIC_HWVADST10_ST10_SHIFT |
| #define | DMIC_HWVADST10_ST10(x) |
| #define | DMIC_HWVADST10_ST10_MASK |
| #define | DMIC_HWVADST10_ST10_SHIFT |
| #define | DMIC_HWVADST10_ST10(x) |
HWVADRSTT - HWVAD Filter Reset | |
| #define | DMIC_HWVADRSTT_RSST_MASK |
| #define | DMIC_HWVADRSTT_RSST_SHIFT |
| #define | DMIC_HWVADRSTT_RSST(x) |
| #define | DMIC_HWVADRSTT_RSST_MASK |
| #define | DMIC_HWVADRSTT_RSST_SHIFT |
| #define | DMIC_HWVADRSTT_RSST(x) |
HWVADTHGN - HWVAD Noise Estimator Gain | |
| #define | DMIC_HWVADTHGN_THGN_MASK |
| #define | DMIC_HWVADTHGN_THGN_SHIFT |
| #define | DMIC_HWVADTHGN_THGN(x) |
| #define | DMIC_HWVADTHGN_THGN_MASK |
| #define | DMIC_HWVADTHGN_THGN_SHIFT |
| #define | DMIC_HWVADTHGN_THGN(x) |
HWVADTHGS - HWVAD Signal Estimator Gain | |
| #define | DMIC_HWVADTHGS_THGS_MASK |
| #define | DMIC_HWVADTHGS_THGS_SHIFT |
| #define | DMIC_HWVADTHGS_THGS(x) |
| #define | DMIC_HWVADTHGS_THGS_MASK |
| #define | DMIC_HWVADTHGS_THGS_SHIFT |
| #define | DMIC_HWVADTHGS_THGS(x) |
HWVADLOWZ - HWVAD Noise Envelope Estimator | |
| #define | DMIC_HWVADLOWZ_LOWZ_MASK |
| #define | DMIC_HWVADLOWZ_LOWZ_SHIFT |
| #define | DMIC_HWVADLOWZ_LOWZ(x) |
| #define | DMIC_HWVADLOWZ_LOWZ_MASK |
| #define | DMIC_HWVADLOWZ_LOWZ_SHIFT |
| #define | DMIC_HWVADLOWZ_LOWZ(x) |
GLOBAL_SYCN_EN - Global Channel Synchronization Enable | |
| #define | DMIC_GLOBAL_SYCN_EN_CH_SYNC_EN_MASK |
| #define | DMIC_GLOBAL_SYCN_EN_CH_SYNC_EN_SHIFT |
| #define | DMIC_GLOBAL_SYCN_EN_CH_SYNC_EN(x) |
| #define DMIC_CHANNEL_OSR_OSR | ( | x | ) |
OSR - Oversample Rate
| #define DMIC_CHANNEL_DIVHFCLK_PDMDIV | ( | x | ) |
PDMDIV - PDM Clock Divider Value 0b0000..Divide by 1 0b0001..Divide by 2 0b0010..Divide by 3 0b0011..Divide by 4 0b0100..Divide by 6 0b0101..Divide by 8 0b0110..Divide by 12 0b0111..Divide by 16 0b1000..Divide by 24 0b1001..Divide by 32 0b1010..Divide by 48 0b1011..Divide by 64 0b1100..Divide by 96 0b1101..Divide by 128 0b1110-0b1111..Reserved
| #define DMIC_CHANNEL_PREAC2FSCOEF_COMP | ( | x | ) |
COMP - Compensation value 0b00..Compensation = 0. This is the recommended setting. 0b01..Compensation = -0.16 0b10..Compensation = -0.15 0b11..Compensation = -0.13
| #define DMIC_CHANNEL_PREAC4FSCOEF_COMP | ( | x | ) |
COMP - Compensation value 0b00..Compensation = 0. This is the recommended setting. 0b01..Compensation = -0.16 0b10..Compensation = -0.15 0b11..Compensation = -0.13
| #define DMIC_CHANNEL_GAINSHIFT_GAIN | ( | x | ) |
GAIN - Gain
| #define DMIC_CHANNEL_FIFO_CTRL_ENABLE | ( | x | ) |
ENABLE - FIFO Enable. 0b0..Disabled. 0b1..FIFO is enabled. The FIFO must be enabled in order for the CPU or DMA to read data from the DMIC via the FIFODATA register.
ENABLE - FIFO Enable. 0b0..FIFO is not enabled. Enabling a DMIC channel with the FIFO disabled could be useful while data is being streamed to the I2S, or in order to avoid a filter settling delay when a channel is re-enabled after a period when the data was not needed. 0b1..FIFO is enabled. The FIFO must be enabled in order for the CPU or DMA to read data from the DMIC via the FIFODATA register.
| #define DMIC_CHANNEL_FIFO_CTRL_RESETN | ( | x | ) |
RESETN - FIFO Reset 0b0..Reset the FIFO. This must be cleared before resuming operation. 0b1..Normal operation
| #define DMIC_CHANNEL_FIFO_CTRL_INTEN | ( | x | ) |
INTEN - Interrupt Enable. 0b0..FIFO level interrupts are not enabled. 0b1..FIFO level interrupts are enabled.
| #define DMIC_CHANNEL_FIFO_CTRL_DMAEN | ( | x | ) |
DMAEN - DMA Enable 0b0..DMA requests are not enabled. 0b1..DMA requests based on FIFO level are enabled.
| #define DMIC_CHANNEL_FIFO_CTRL_TRIGLVL | ( | x | ) |
TRIGLVL - FIFO Trigger Level for Interrupt 0b00000..Trigger when the FIFO has received one entry (is no longer empty). 0b00001..Trigger when the FIFO has received two entries. 0b01110..Trigger when the FIFO has received 15 entries. 0b01111..Trigger when the FIFO has received 16 entries (has become full).
| #define DMIC_CHANNEL_FIFO_STATUS_INT | ( | x | ) |
INT - Status of Interrupt (write 1 to clear)
| #define DMIC_CHANNEL_FIFO_STATUS_OVERRUN | ( | x | ) |
OVERRUN - Overrun Detected (write 1 to clear)
| #define DMIC_CHANNEL_FIFO_STATUS_UNDERRUN | ( | x | ) |
UNDERRUN - Underrun Detected (write 1 to clear)
| #define DMIC_CHANNEL_FIFO_DATA_DATA | ( | x | ) |
DATA - PCM Data
| #define DMIC_CHANNEL_PHY_CTRL_PHY_FALL | ( | x | ) |
PHY_FALL - Capture DMIC on Falling edge (0 means on rising) 0b0..Capture PDM_DATA on the rising edge of PDM_CLK. 0b1..Capture PDM_DATA on the falling edge of PDM_CLK.
| #define DMIC_CHANNEL_PHY_CTRL_PHY_HALF | ( | x | ) |
PHY_HALF - Use Half rate sampling (ie Clock to dmic is sent at half the speed than the decimator is providing) 0b0..Standard half rate sampling. The clock to the DMIC is sent at the same rate as the decimator is providing. 0b1..Use half rate sampling. The clock to the DMIC is sent at half the rate that the decimator is providing.
| #define DMIC_CHANNEL_DC_CTRL_DCPOLE | ( | x | ) |
DCPOLE - DC Block Filter 0b00..Flat Response, no filter 0b01..155 Hz 0b10..78 Hz 0b11..39 Hz
| #define DMIC_CHANNEL_DC_CTRL_DCGAIN | ( | x | ) |
DCGAIN - DC Gain
| #define DMIC_CHANNEL_DC_CTRL_SATURATEAT16BIT | ( | x | ) |
SATURATEAT16BIT - Saturate at 16 Bit 0b0..Do not Saturate. Results roll over if out range and do not saturate. 0b1..Saturate. If the result overflows, it saturates at 0xFFFF for positive overflow and 0x8000 for negative overflow.
| #define DMIC_CHANNEL_DC_CTRL_SIGNEXTEND | ( | x | ) |
SIGNEXTEND - Sign Extend 0b0..Disabled 0b1..Enabled
SIGNEXTEND - Sign Extend 0b0..The top byte of the FIFODATA register is always 0. 0b1..The top byte of the FIFODATA register is sign extended.
| #define DMIC_CHANEN_EN_CH0 | ( | x | ) |
EN_CH0 - Enable Channel n 0b0..PDM channel n is disabled. 0b1..PDM channel n is enabled.
| #define DMIC_CHANEN_EN_CH1 | ( | x | ) |
EN_CH1 - Enable Channel n 0b0..PDM channel n is disabled. 0b1..PDM channel n is enabled.
| #define DMIC_USE2FS_USE2FS | ( | x | ) |
USE2FS - Use 2FS register 0b0..Use 1 FS output for PCM data. 0b1..Use 2 FS output for PCM data.
| #define DMIC_GLOBAL_SYNC_EN_CH_SYNC_EN | ( | x | ) |
CH_SYNC_EN - Channel synch enable
| #define DMIC_GLOBAL_COUNT_VAL_CCOUNTVAL | ( | x | ) |
CCOUNTVAL - Channel Counter Value
| #define DMIC_DECRESET_DECRESET | ( | x | ) |
DECRESET - Decimator reset 0b00..Disable 0b01..Enable
DECRESET - Decimator reset 0b0000..Release reset to decimator 0b0001..Assert reset to decimator
| #define DMIC_HWVADGAIN_INPUTGAIN | ( | x | ) |
INPUTGAIN - Input Gain 0b0000..-10 bits 0b0001..-8 bits 0b0010..-6 bits 0b0011..-4 bits 0b0100..-2 bits 0b0101..0 bits (default) 0b0110..+2 bits 0b0111..+4 bits 0b1000..+6 bits 0b1001..+8 bits 0b1010..+10 bits 0b1011..+12 bits 0b1100..+14 bits 0b1101-0b1111..Reserved
INPUTGAIN 0b0000..-10 bits 0b0001..-8 bits 0b0010..-6 bits 0b0011..-4 bits 0b0100..-2 bits 0b0101..0 bits (default) 0b0110..+2 bits 0b0111..+4 bits 0b1000..+6 bits 0b1001..+8 bits 0b1010..+10 bits 0b1011..+12 bits 0b1100..+14 bits 0b1101-0b1111..Reserved
| #define DMIC_HWVADHPFS_HPFS | ( | x | ) |
HPFS - The HPFS field chooses the High Pass filter in first part of HWVAD. 0b00..Bypass 0b01..High Pass 1750 Hz 0b10..High Pass 215 Hz 0b11..Reserved
HPFS - The HPFS field chooses the High Pass filter in first part of HWVAD. 0b00..BYPASS. First filter by-pass. 0b01..HIGH_PASS_1750HZ. High pass filter with -3dB cut-off at 1750 Hz. 0b10..HIGH_PASS_215HZ. High pass filter with -3dB cut-off at 215 Hz. 0b11..Reserved
| #define DMIC_HWVADST10_ST10 | ( | x | ) |
ST10 - STAGE 1 0b0..Normal operation, waiting for HWVAD trigger event (stage 0). 0b1..Reset internal interrupt flag by writing a '1' (stage 1) pulse.
| #define DMIC_HWVADRSTT_RSST | ( | x | ) |
RSST - Reset HWVAD
| #define DMIC_HWVADTHGN_THGN | ( | x | ) |
THGN - Gain Factor for Noise Estimator
| #define DMIC_HWVADTHGS_THGS | ( | x | ) |
THGS - Signal Gain Factor
| #define DMIC_HWVADLOWZ_LOWZ | ( | x | ) |
LOWZ - Average Noise-floor Value
| #define DMIC_CHANNEL_OSR_OSR | ( | x | ) |
OSR - Oversample Rate
| #define DMIC_CHANNEL_DIVHFCLK_PDMDIV | ( | x | ) |
PDMDIV - PDM Clock Divider Value 0b0000..Divide by 1 0b0001..Divide by 2 0b0010..Divide by 3 0b0011..Divide by 4 0b0100..Divide by 6 0b0101..Divide by 8 0b0110..Divide by 12 0b0111..Divide by 16 0b1000..Divide by 24 0b1001..Divide by 32 0b1010..Divide by 48 0b1011..Divide by 64 0b1100..Divide by 96 0b1101..Divide by 128 0b1110-0b1111..Reserved
| #define DMIC_CHANNEL_PREAC2FSCOEF_COMP | ( | x | ) |
COMP - Compensation value 0b00..Compensation = 0. This is the recommended setting. 0b01..Compensation = -0.16 0b10..Compensation = -0.15 0b11..Compensation = -0.13
| #define DMIC_CHANNEL_PREAC4FSCOEF_COMP | ( | x | ) |
COMP - Compensation value 0b00..Compensation = 0. This is the recommended setting. 0b01..Compensation = -0.16 0b10..Compensation = -0.15 0b11..Compensation = -0.13
| #define DMIC_CHANNEL_GAINSHIFT_GAIN | ( | x | ) |
GAIN - Gain
| #define DMIC_CHANNEL_FIFO_CTRL_ENABLE | ( | x | ) |
ENABLE - FIFO Enable. 0b0..FIFO is not enabled. Enabling a DMIC channel with the FIFO disabled could be useful while data is being streamed to the I2S, or in order to avoid a filter settling delay when a channel is re-enabled after a period when the data was not needed. 0b1..FIFO is enabled. The FIFO must be enabled in order for the CPU or DMA to read data from the DMIC via the FIFODATA register.
| #define DMIC_CHANNEL_FIFO_CTRL_RESETN | ( | x | ) |
RESETN - FIFO Reset 0b0..Reset the FIFO. This must be cleared before resuming operation. 0b1..Normal operation
| #define DMIC_CHANNEL_FIFO_CTRL_INTEN | ( | x | ) |
INTEN - Interrupt Enable. 0b0..FIFO level interrupts are not enabled. 0b1..FIFO level interrupts are enabled.
| #define DMIC_CHANNEL_FIFO_CTRL_DMAEN | ( | x | ) |
DMAEN - DMA Enable 0b0..DMA requests are not enabled. 0b1..DMA requests based on FIFO level are enabled.
| #define DMIC_CHANNEL_FIFO_CTRL_TRIGLVL | ( | x | ) |
TRIGLVL - FIFO Trigger Level for Interrupt 0b00000..Trigger when the FIFO has received one entry (is no longer empty). 0b00001..Trigger when the FIFO has received two entries. 0b01110..Trigger when the FIFO has received 15 entries. 0b01111..Trigger when the FIFO has received 16 entries (has become full).
| #define DMIC_CHANNEL_FIFO_STATUS_INT | ( | x | ) |
INT - Status of Interrupt (write 1 to clear)
| #define DMIC_CHANNEL_FIFO_STATUS_OVERRUN | ( | x | ) |
OVERRUN - Overrun Detected (write 1 to clear)
| #define DMIC_CHANNEL_FIFO_STATUS_UNDERRUN | ( | x | ) |
UNDERRUN - Underrun Detected (write 1 to clear)
| #define DMIC_CHANNEL_FIFO_DATA_DATA | ( | x | ) |
DATA - PCM Data
| #define DMIC_CHANNEL_PHY_CTRL_PHY_FALL | ( | x | ) |
PHY_FALL - Capture DMIC on Falling edge (0 means on rising) 0b0..Capture PDM_DATA on the rising edge of PDM_CLK. 0b1..Capture PDM_DATA on the falling edge of PDM_CLK.
| #define DMIC_CHANNEL_PHY_CTRL_PHY_HALF | ( | x | ) |
PHY_HALF - Use Half rate sampling (ie Clock to dmic is sent at half the speed than the decimator is providing) 0b0..Standard half rate sampling. The clock to the DMIC is sent at the same rate as the decimator is providing. 0b1..Use half rate sampling. The clock to the DMIC is sent at half the rate that the decimator is providing.
| #define DMIC_CHANNEL_DC_CTRL_DCPOLE | ( | x | ) |
DCPOLE - DC Block Filter 0b00..Flat Response, no filter 0b01..155 Hz 0b10..78 Hz 0b11..39 Hz
| #define DMIC_CHANNEL_DC_CTRL_DCGAIN | ( | x | ) |
DCGAIN - DC Gain
| #define DMIC_CHANNEL_DC_CTRL_SATURATEAT16BIT | ( | x | ) |
SATURATEAT16BIT - Saturate at 16 Bit 0b0..Do not Saturate. Results roll over if out range and do not saturate. 0b1..Saturate. If the result overflows, it saturates at 0xFFFF for positive overflow and 0x8000 for negative overflow.
| #define DMIC_CHANNEL_DC_CTRL_SIGNEXTEND | ( | x | ) |
SIGNEXTEND - Sign Extend 0b0..The top byte of the FIFODATA register is always 0. 0b1..The top byte of the FIFODATA register is sign extended.
| #define DMIC_CHANEN_EN_CH0 | ( | x | ) |
EN_CH0 - Enable Channel n 0b0..PDM channel n is disabled. 0b1..PDM channel n is enabled.
| #define DMIC_CHANEN_EN_CH1 | ( | x | ) |
EN_CH1 - Enable Channel n 0b0..PDM channel n is disabled. 0b1..PDM channel n is enabled.
| #define DMIC_CHANEN_EN_CH2 | ( | x | ) |
EN_CH2 - Enable Channel n 0b0..PDM channel n is disabled. 0b1..PDM channel n is enabled.
| #define DMIC_CHANEN_EN_CH3 | ( | x | ) |
EN_CH3 - Enable Channel n 0b0..PDM channel n is disabled. 0b1..PDM channel n is enabled.
| #define DMIC_USE2FS_USE2FS | ( | x | ) |
USE2FS - Use 2FS register 0b0..Use 1 FS output for PCM data. 0b1..Use 2 FS output for PCM data.
| #define DMIC_GLOBAL_SYCN_EN_CH_SYNC_EN | ( | x | ) |
CH_SYNC_EN - Channel synch enable
| #define DMIC_GLOBAL_COUNT_VAL_CCOUNTVAL | ( | x | ) |
CCOUNTVAL - Channel Counter Value
| #define DMIC_DECRESET_DECRESET | ( | x | ) |
DECRESET - Decimator reset 0b0000..Release reset to decimator 0b0001..Assert reset to decimator
| #define DMIC_HWVADGAIN_INPUTGAIN | ( | x | ) |
INPUTGAIN 0b0000..-10 bits 0b0001..-8 bits 0b0010..-6 bits 0b0011..-4 bits 0b0100..-2 bits 0b0101..0 bits (default) 0b0110..+2 bits 0b0111..+4 bits 0b1000..+6 bits 0b1001..+8 bits 0b1010..+10 bits 0b1011..+12 bits 0b1100..+14 bits 0b1101-0b1111..Reserved
| #define DMIC_HWVADHPFS_HPFS | ( | x | ) |
HPFS - The HPFS field chooses the High Pass filter in first part of HWVAD. 0b00..BYPASS. First filter by-pass. 0b01..HIGH_PASS_1750HZ. High pass filter with -3dB cut-off at 1750 Hz. 0b10..HIGH_PASS_215HZ. High pass filter with -3dB cut-off at 215 Hz. 0b11..Reserved
| #define DMIC_HWVADST10_ST10 | ( | x | ) |
ST10 - STAGE 1 0b0..Normal operation, waiting for HWVAD trigger event (stage 0). 0b1..Reset internal interrupt flag by writing a '1' (stage 1) pulse.
| #define DMIC_HWVADRSTT_RSST | ( | x | ) |
RSST - Reset HWVAD
| #define DMIC_HWVADTHGN_THGN | ( | x | ) |
THGN - Gain Factor for Noise Estimator
| #define DMIC_HWVADTHGS_THGS | ( | x | ) |
THGS - Signal Gain Factor
| #define DMIC_HWVADLOWZ_LOWZ | ( | x | ) |
LOWZ - Average Noise-floor Value