|
void | pdm_reset (void) |
| 当主频为168时,延时100us 更多...
|
|
void | pdm_adc_mode_set (pdm_mode_t mode, pdm_frame_1_2len_t frame_Len, pdm_valid_word_len_t word_len, pdm_i2s_data_famat_t data_fram) |
| PDM作为ADC的模式选择 更多...
|
|
void | pdm_dac_mode_set (pdm_mode_t mode, pdm_frame_1_2len_t frame_Len, pdm_valid_word_len_t word_len, pdm_i2s_data_famat_t data_fram) |
| PDM作为DAC的模式选择 更多...
|
|
void | pdm_power_up (pdm_current_t current) |
| PDM模块上电 更多...
|
|
void | pdm_power_off (void) |
| 关闭PDM模块电源 更多...
|
|
void | pdm_hightpass_config (pdm_gate_t gate, pdm_highpass_cut_off_t Hz) |
| 配置PDM模块的高通滤波器 更多...
|
|
void | pdm_set_input_mode_left (pdm_input_mode_t mode) |
| 设置左通道的输入模式 更多...
|
|
void | pdm_set_input_mode_right (pdm_input_mode_t mode) |
| 设置右通道的输入模式 更多...
|
|
void | pdm_set_mic_gain_left (pdm_mic_amplify_t gain) |
| 设置左通道的MIC增益 更多...
|
|
void | pdm_set_mic_gain_right (pdm_mic_amplify_t gain) |
| 设置右通道的MIC增益 更多...
|
|
void | pdm_adc_enable (pdm_adc_config_t *ADC_Config) |
| 使能PDM中的ADC: 1.使用此函数之前先初始化PDM_ADC_Config_TypeDef结构体并填写参数; 2.ALCL_Gain和ALCR_Gain的上下限分别是28.5dB和-18dB,步长1.5。 更多...
|
|
void | pdm_adc_dig_gain_set (pdm_cha_sel_t cha, int32_t gain) |
| 调节CODEC ADC的数字增益(197为0dB,加减1为加减0.5dB增益) 更多...
|
|
void | pdm_adc_disable (pdm_cha_sel_t cha, pdm_gate_t EN) |
| 关闭PDM中的ADC 更多...
|
|
void | pdm_dac_gain_set (int32_t l_gain, int32_t r_gain) |
| 配置PDM中的DAC增益,-39dB到7.5dB,步长1.5dB,真实为32档。 更多...
|
|
void | pdm_dac_enable (void) |
| 使能PDM中的DAC(-39 – 7 dB) 更多...
|
|
void | pdm_hpout_mute (void) |
|
void | pdm_hpout_mute_disable (void) |
|
void | pdm_dac_disable (pdm_cha_sel_t cha, pdm_gate_t EN) |
| 关闭DAC 更多...
|
|
void | pdm_alc_judge_sel (pdm_alc_judge_t judge) |
| ALC判断的信号来自高通滤波器之前,还是之后 更多...
|
|
void | pdm_pga_gain_config_via_reg27_28 (pdm_cha_sel_t cha, uint32_t gain) |
| 向PDM reg27 reg28寄存器写PGA的增益 更多...
|
|
void | pdm_pga_gain_config_via_reg27_28_db (pdm_cha_sel_t cha, float gain_db) |
|
pdm_mic_amplify_t | pdm_get_mic_gain (pdm_cha_sel_t cha) |
| 获取PDM MIC增益的大小 更多...
|
|
void | pdm_set_mic_gain (pdm_cha_sel_t cha, pdm_mic_amplify_t gain) |
| 向PDM MIC增益控制寄存器写值 更多...
|
|
void | pdm_alc_left_config (pdm_alc_use_config_t *ALC_str) |
| PDM ALC配置左通道 更多...
|
|
void | pdm_alc_right_config (pdm_alc_use_config_t *ALC_str) |
| PDM ALC配置左通道 更多...
|
|
static void | pdm_alc_init_config (void) |
| ALC的默认配置 更多...
|
|
static void | pdm_adc_init_config (void) |
|
static void | pdm_aux_alc_init_config (void) |
|
int | pdm_init (void) |
|
void | pdm_left_mic_reinit (void) |
|
void | pdm_right_mic_reinit (void) |
|