Configuration functions

Functions

__STATIC_INLINE void ll_pdm_enable_clk (pdm_regs_t *PDMx)
 Enable PDM Module CLK. More...
 
__STATIC_INLINE void ll_pdm_disable_clk (pdm_regs_t *PDMx)
 Disable PDM Module CLK. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_clk (pdm_regs_t *PDMx)
 Disable PDM Module CLK. More...
 
__STATIC_INLINE void ll_pdm_set_sample_rate (pdm_regs_t *PDMx, uint32_t sample_rate)
 Set PDM sample rate. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_sample_rate (pdm_regs_t *PDMx)
 Get PDM sample rate. More...
 
__STATIC_INLINE void ll_pdm_set_posedge_en_pulse_cfg (pdm_regs_t *PDMx, uint32_t target)
 Set PDM posedge en pulse cfg. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_posedge_en_pulse_cfg (pdm_regs_t *PDMx)
 Get PDM posedge en pulse cfg. More...
 
__STATIC_INLINE void ll_pdm_set_negedge_en_pulse_cfg (pdm_regs_t *PDMx, uint32_t target)
 Set PDM negedge en pulse cfg. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_negedge_en_pulse_cfg (pdm_regs_t *PDMx)
 Get PDM posedge en pulse cfg. More...
 
__STATIC_INLINE void ll_pdm_enable_left_channel (pdm_regs_t *PDMx)
 PDM Module enable left channel sample dmic. More...
 
__STATIC_INLINE void ll_pdm_disable_left_channel (pdm_regs_t *PDMx)
 PDM Module disable left channel sample dmic. More...
 
__STATIC_INLINE void ll_pdm_enable_right_channel (pdm_regs_t *PDMx)
 PDM Module enable right channel sample dmic.. More...
 
__STATIC_INLINE void ll_pdm_disable_right_channel (pdm_regs_t *PDMx)
 PDM Module disable right channel sample dmic.. More...
 
__STATIC_INLINE void ll_pdm_enable_left_rx (pdm_regs_t *PDMx)
 Enable PDM Module Left RX. More...
 
__STATIC_INLINE void ll_pdm_disable_left_rx (pdm_regs_t *PDMx)
 Disable PDM Module Left RX. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_rx (pdm_regs_t *PDMx)
 is PDM enables left rx More...
 
__STATIC_INLINE void ll_pdm_enable_right_rx (pdm_regs_t *PDMx)
 Enable PDM Module right RX. More...
 
__STATIC_INLINE void ll_pdm_disable_right_rx (pdm_regs_t *PDMx)
 Disable PDM Module right RX. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_rx (pdm_regs_t *PDMx)
 is PDM enables right rx More...
 
__STATIC_INLINE void ll_pdm_enable_left_sample_dmic (pdm_regs_t *PDMx)
 Enable PDM Module Left sample dmic. More...
 
__STATIC_INLINE void ll_pdm_disable_left_sample_dmic (pdm_regs_t *PDMx)
 Disable PDM Module Left sample dmic. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_sample_dmic (pdm_regs_t *PDMx)
 is PDM enables left rx More...
 
__STATIC_INLINE void ll_pdm_enable_right_sample_dmic (pdm_regs_t *PDMx)
 Enable PDM Module right sample dmic. More...
 
__STATIC_INLINE void ll_pdm_disable_right_sample_dmic (pdm_regs_t *PDMx)
 Disable PDM Module right sample dmic. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_sample_dmic (pdm_regs_t *PDMx)
 is PDM enables right rx More...
 
__STATIC_INLINE void ll_pdm_enable_left_stage0 (pdm_regs_t *PDMx)
 Enable PDM Module Left stage0. More...
 
__STATIC_INLINE void ll_pdm_disable_left_stage0 (pdm_regs_t *PDMx)
 Disable PDM Module Left stage0. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage0 (pdm_regs_t *PDMx)
 is PDM enables left stage0 More...
 
__STATIC_INLINE void ll_pdm_enable_right_stage0 (pdm_regs_t *PDMx)
 Enable PDM Module right stage0. More...
 
__STATIC_INLINE void ll_pdm_disable_right_stage0 (pdm_regs_t *PDMx)
 Disable PDM Module right stage0. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage0 (pdm_regs_t *PDMx)
 is PDM enables right stage0 More...
 
__STATIC_INLINE void ll_pdm_enable_left_stage1 (pdm_regs_t *PDMx)
 Enable PDM Module Left stage1. More...
 
__STATIC_INLINE void ll_pdm_disable_left_stage1 (pdm_regs_t *PDMx)
 Disable PDM Module Left stage1. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage1 (pdm_regs_t *PDMx)
 is PDM enables left stage1 More...
 
__STATIC_INLINE void ll_pdm_enable_right_stage1 (pdm_regs_t *PDMx)
 Enable PDM Module right stage1. More...
 
__STATIC_INLINE void ll_pdm_disable_right_stage1 (pdm_regs_t *PDMx)
 Disable PDM Module right stage1. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage1 (pdm_regs_t *PDMx)
 is PDM enables right stage1 More...
 
__STATIC_INLINE void ll_pdm_enable_left_stage2 (pdm_regs_t *PDMx)
 Enable PDM Module Left stage2. More...
 
__STATIC_INLINE void ll_pdm_disable_left_stage2 (pdm_regs_t *PDMx)
 Disable PDM Module Left stage2. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage2 (pdm_regs_t *PDMx)
 is PDM enables left stage2 More...
 
__STATIC_INLINE void ll_pdm_enable_right_stage2 (pdm_regs_t *PDMx)
 Enable PDM Module right stage2. More...
 
__STATIC_INLINE void ll_pdm_disable_right_stage2 (pdm_regs_t *PDMx)
 Disable PDM Module right stage2. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage2 (pdm_regs_t *PDMx)
 is PDM enables right stage2 More...
 
__STATIC_INLINE void ll_pdm_enable_left_stage3 (pdm_regs_t *PDMx)
 Enable PDM Module Left stage3. More...
 
__STATIC_INLINE void ll_pdm_disable_left_stage3 (pdm_regs_t *PDMx)
 Disable PDM Module Left stage3. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage3 (pdm_regs_t *PDMx)
 is PDM enables left stage3 More...
 
__STATIC_INLINE void ll_pdm_enable_right_stage3 (pdm_regs_t *PDMx)
 Enable PDM Module right stage3. More...
 
__STATIC_INLINE void ll_pdm_disable_right_stage3 (pdm_regs_t *PDMx)
 Disable PDM Module right stage3. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage3 (pdm_regs_t *PDMx)
 is PDM enables right stage3 More...
 
__STATIC_INLINE void ll_pdm_enable_left_stage4 (pdm_regs_t *PDMx)
 Enable PDM Module Left stage4. More...
 
__STATIC_INLINE void ll_pdm_disable_left_stage4 (pdm_regs_t *PDMx)
 Disable PDM Module Left stage4. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage4 (pdm_regs_t *PDMx)
 is PDM enables left stage4 More...
 
__STATIC_INLINE void ll_pdm_enable_right_stage4 (pdm_regs_t *PDMx)
 Enable PDM Module right stage4. More...
 
__STATIC_INLINE void ll_pdm_disable_right_stage4 (pdm_regs_t *PDMx)
 Disable PDM Module right stage4. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage4 (pdm_regs_t *PDMx)
 is PDM enables right stage4 More...
 
__STATIC_INLINE void ll_pdm_enable_left_stage5 (pdm_regs_t *PDMx)
 Enable PDM Module Left stage5. More...
 
__STATIC_INLINE void ll_pdm_disable_left_stage5 (pdm_regs_t *PDMx)
 Disable PDM Module Left stage5. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage5 (pdm_regs_t *PDMx)
 is PDM enables left stage5 More...
 
__STATIC_INLINE void ll_pdm_enable_right_stage5 (pdm_regs_t *PDMx)
 Enable PDM Module right stage5. More...
 
__STATIC_INLINE void ll_pdm_disable_right_stage5 (pdm_regs_t *PDMx)
 Disable PDM Module right stage5. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage5 (pdm_regs_t *PDMx)
 is PDM enables right stage5 More...
 
__STATIC_INLINE void ll_pdm_enable_left_stage6 (pdm_regs_t *PDMx)
 Enable PDM Module Left stage6. More...
 
__STATIC_INLINE void ll_pdm_disable_left_stage6 (pdm_regs_t *PDMx)
 Disable PDM Module Left stage6. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage6 (pdm_regs_t *PDMx)
 is PDM enables left stage6 More...
 
__STATIC_INLINE void ll_pdm_enable_right_stage6 (pdm_regs_t *PDMx)
 Enable PDM Module right stage6. More...
 
__STATIC_INLINE void ll_pdm_disable_right_stage6 (pdm_regs_t *PDMx)
 Disable PDM Module right stage6. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage6 (pdm_regs_t *PDMx)
 is PDM enables right stage6 More...
 
__STATIC_INLINE void ll_pdm_enable_left_stage7 (pdm_regs_t *PDMx)
 Enable PDM Module Left stage7. More...
 
__STATIC_INLINE void ll_pdm_disable_left_stage7 (pdm_regs_t *PDMx)
 Disable PDM Module Left stage7. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage7 (pdm_regs_t *PDMx)
 is PDM enables left stage7 More...
 
__STATIC_INLINE void ll_pdm_enable_right_stage7 (pdm_regs_t *PDMx)
 Enable PDM Module right stage7. More...
 
__STATIC_INLINE void ll_pdm_disable_right_stage7 (pdm_regs_t *PDMx)
 Disable PDM Module right stage7. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage7 (pdm_regs_t *PDMx)
 is PDM enables right stage7 More...
 
__STATIC_INLINE void ll_pdm_enable_left_hpf (pdm_regs_t *PDMx)
 Enable PDM Module Left hpf. More...
 
__STATIC_INLINE void ll_pdm_disable_left_hpf (pdm_regs_t *PDMx)
 Disable PDM Module Left hpf. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_hpf (pdm_regs_t *PDMx)
 is PDM enables left hpf More...
 
__STATIC_INLINE void ll_pdm_enable_right_hpf (pdm_regs_t *PDMx)
 Enable PDM Module right hpf. More...
 
__STATIC_INLINE void ll_pdm_disable_right_hpf (pdm_regs_t *PDMx)
 Disable PDM Module right hpf. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_hpf (pdm_regs_t *PDMx)
 is PDM enables right hpf More...
 
__STATIC_INLINE void ll_pdm_set_left_rxd_upsample (pdm_regs_t *PDMx, uint32_t rxd_upsample)
 Set PDM left rxd upsample. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_left_rxd_upsample (pdm_regs_t *PDMx)
 Get PDM left rxd upsample. More...
 
__STATIC_INLINE void ll_pdm_set_right_rxd_upsample (pdm_regs_t *PDMx, uint32_t rxd_upsample)
 Set PDM right rxd upsample. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_right_rxd_upsample (pdm_regs_t *PDMx)
 Get PDM right rxd upsample. More...
 
__STATIC_INLINE void ll_pdm_set_left_stage_init (pdm_regs_t *PDMx, uint32_t stage_init)
 Set PDM left statge init. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_left_stage_init (pdm_regs_t *PDMx)
 Get PDM left statge init. More...
 
__STATIC_INLINE void ll_pdm_set_right_stage_init (pdm_regs_t *PDMx, uint32_t stage_init)
 Set PDM right statge init. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_right_stage_init (pdm_regs_t *PDMx)
 Get PDM right statge init. More...
 
__STATIC_INLINE void ll_pdm_set_left_upsample_factor (pdm_regs_t *PDMx, uint32_t upsample_factor)
 Set PDM left upsample factor. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_left_upsample_factor (pdm_regs_t *PDMx)
 Get PDM left upsample factor. More...
 
__STATIC_INLINE void ll_pdm_set_right_upsample_factor (pdm_regs_t *PDMx, uint32_t upsample_factor)
 Set PDM right upsample factor. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_right_upsample_factor (pdm_regs_t *PDMx)
 Get PDM right upsample factor. More...
 
__STATIC_INLINE void ll_pdm_enable_left_hpy_bypass (pdm_regs_t *PDMx)
 Enable PDM left hpf_bypass. More...
 
__STATIC_INLINE void ll_pdm_disable_left_hpy_bypass (pdm_regs_t *PDMx)
 Disable PDM left hpf_bypass. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_hpy_bypass (pdm_regs_t *PDMx)
 is PDM enables right stage7 More...
 
__STATIC_INLINE void ll_pdm_enable_right_hpy_bypass (pdm_regs_t *PDMx)
 Enable PDM right hpf_bypass. More...
 
__STATIC_INLINE void ll_pdm_disable_right_hpy_bypass (pdm_regs_t *PDMx)
 Disable PDM right hpf_bypass. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_hpy_bypass (pdm_regs_t *PDMx)
 is PDM enables right hpf_bypass More...
 
__STATIC_INLINE void ll_pdm_set_left_hpf_corner (pdm_regs_t *PDMx, uint32_t hpf_corner)
 Set PDM left hpf corner. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_left_hpf_corner (pdm_regs_t *PDMx)
 Get PDM left hpf corner. More...
 
__STATIC_INLINE void ll_pdm_set_right_hpf_corner (pdm_regs_t *PDMx, uint32_t hpf_corner)
 Set PDM right hpf corner. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_right_hpf_corner (pdm_regs_t *PDMx)
 Get PDM right hpf corner. More...
 
__STATIC_INLINE void ll_pdm_enable_left_hpf_freeze_en (pdm_regs_t *PDMx)
 Enable PDM left hpf_freeze_en. More...
 
__STATIC_INLINE void ll_pdm_disable_left_hpf_freeze_en (pdm_regs_t *PDMx)
 Disable PDM left hpf_freeze_en. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_left_hpf_freeze_en (pdm_regs_t *PDMx)
 is PDM enables left hpf_freeze_en More...
 
__STATIC_INLINE void ll_pdm_enable_right_hpf_freeze_en (pdm_regs_t *PDMx)
 Enable PDM right hpf_freeze_en. More...
 
__STATIC_INLINE void ll_pdm_disable_right_hpf_freeze_en (pdm_regs_t *PDMx)
 Disable PDM right hpf_freeze_en. More...
 
__STATIC_INLINE uint32_t ll_pdm_is_enable_right_hpf_freeze_en (pdm_regs_t *PDMx)
 is PDM enables right hpf_freeze_en More...
 
__STATIC_INLINE void ll_pdm_set_left_pga_val (pdm_regs_t *PDMx, uint32_t pga_val)
 Set PDM left pga_value. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_left_pga_val (pdm_regs_t *PDMx)
 Get PDM left pga_value. More...
 
__STATIC_INLINE void ll_pdm_set_right_pga_val (pdm_regs_t *PDMx, uint32_t pga_val)
 Set PDM right pga_value. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_right_pga_val (pdm_regs_t *PDMx)
 Get PDM right pga_value. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_left_data (pdm_regs_t *PDMx)
 Get PDM left data. More...
 
__STATIC_INLINE uint32_t ll_pdm_get_right_data (pdm_regs_t *PDMx)
 Get PDM right data. More...
 
__STATIC_INLINE void ll_pdm_left_clear_flag_valid (pdm_regs_t *PDMx)
 Clean PDM left valid. More...
 
__STATIC_INLINE uint32_t ll_pdm_left_is_active_flag_valid (pdm_regs_t *PDMx)
 Get PDM left valid. More...
 
__STATIC_INLINE void ll_pdm_right_clear_flag_valid (pdm_regs_t *PDMx)
 Clean PDM right valid. More...
 
__STATIC_INLINE uint32_t ll_pdm_right_is_active_flag_valid (pdm_regs_t *PDMx)
 Get PDM right valid. More...
 
__STATIC_INLINE void ll_pdm_left_clear_flag_overflow (pdm_regs_t *PDMx)
 Set PDM left overflow. More...
 
__STATIC_INLINE uint32_t ll_pdm_left_is_active_flag_overflow (pdm_regs_t *PDMx)
 Get PDM left overflow. More...
 
__STATIC_INLINE void ll_pdm_right_clear_flag_overflow (pdm_regs_t *PDMx)
 Set PDM right overflow. More...
 
__STATIC_INLINE uint32_t ll_pdm_right_is_active_flag_overflow (pdm_regs_t *PDMx)
 Get PDM right overflow. More...
 
__STATIC_INLINE void ll_pdm_left_enable_it_valid (pdm_regs_t *PDMx)
 enable .valid inter More...
 
__STATIC_INLINE void ll_pdm_left_disable_it_valid (pdm_regs_t *PDMx)
 disable .valid inter More...
 
__STATIC_INLINE uint32_t ll_pdm_left_is_enable_it_valid (pdm_regs_t *PDMx)
 Get .valid inter status. More...
 
__STATIC_INLINE void ll_pdm_right_enable_it_valid (pdm_regs_t *PDMx)
 enable .valid inter More...
 
__STATIC_INLINE void ll_pdm_right_disable_it_valid (pdm_regs_t *PDMx)
 Clean the status of .valid inter status. More...
 
__STATIC_INLINE uint32_t ll_pdm_right_is_enable_it_valid (pdm_regs_t *PDMx)
 Get .valid inter status. More...
 
__STATIC_INLINE void ll_pdm_left_enable_it_overflow (pdm_regs_t *PDMx)
 enable .overflow inter More...
 
__STATIC_INLINE void ll_pdm_left_disable_it_overflow (pdm_regs_t *PDMx)
 disable .overflow inter More...
 
__STATIC_INLINE uint32_t ll_pdm_left_is_enable_it_overflow (pdm_regs_t *PDMx)
 Get .overflow inter status. More...
 
__STATIC_INLINE void ll_pdm_right_enable_it_overflow (pdm_regs_t *PDMx)
 enable .overflow inter More...
 
__STATIC_INLINE void ll_pdm_right_disable_it_overflow (pdm_regs_t *PDMx)
 disable .overflow inter More...
 
__STATIC_INLINE uint32_t ll_pdm_right_is_enable_it_overflow (pdm_regs_t *PDMx)
 Get .overflow inter status. More...
 
__STATIC_INLINE void ll_pdm_left_enable_dma_mask (pdm_regs_t *PDMx)
 set valid dma mask enable More...
 
__STATIC_INLINE void ll_pdm_left_disable_dma_mask (pdm_regs_t *PDMx)
 set valid dma mask disable More...
 
__STATIC_INLINE void ll_pdm_right_enable_dma_mask (pdm_regs_t *PDMx)
 set valid dma mask enable More...
 
__STATIC_INLINE void ll_pdm_right_disable_dma_mask (pdm_regs_t *PDMx)
 set valid dma mask disable More...
 

Detailed Description

Function Documentation

◆ ll_pdm_disable_clk()

__STATIC_INLINE void ll_pdm_disable_clk ( pdm_regs_t *  PDMx)

Disable PDM Module CLK.

Note
This function is used to enable the PDM Module CLK.

Register|BitsName --------|-------- PDM_CLK | EN

Parameters
PDMxPDM instance.
Return values
None

Definition at line 297 of file gr55xx_ll_pdm.h.

References LL_PDM_CLK_DISABLE.

◆ ll_pdm_disable_left_channel()

__STATIC_INLINE void ll_pdm_disable_left_channel ( pdm_regs_t *  PDMx)

PDM Module disable left channel sample dmic.

Note
This function is used to set PDM left disable register

Register|BitsName --------|-------- EN_L | ENABLE_RX

Parameters
PDMxPDM instance
Return values
None

Definition at line 457 of file gr55xx_ll_pdm.h.

◆ ll_pdm_disable_left_hpf()

__STATIC_INLINE void ll_pdm_disable_left_hpf ( pdm_regs_t *  PDMx)

Disable PDM Module Left hpf.

Note
This function is used to set PDM Left hpf enable

Register|BitsName --------|-------- EN_L | EN_HPF

Parameters
PDMxPDM instance
Return values
None

Definition at line 1507 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_HPF_DISABLE.

◆ ll_pdm_disable_left_hpf_freeze_en()

__STATIC_INLINE void ll_pdm_disable_left_hpf_freeze_en ( pdm_regs_t *  PDMx)

Disable PDM left hpf_freeze_en.

Note
This function is used to disable PDM left hpf_freeze_en

Register|BitsName --------|-------- HPF_CFG_L | HPY_FREEZE_EN

Parameters
PDMxPDM instance

Definition at line 1988 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_HPF_FREEZE_DISABLE.

◆ ll_pdm_disable_left_hpy_bypass()

__STATIC_INLINE void ll_pdm_disable_left_hpy_bypass ( pdm_regs_t *  PDMx)

Disable PDM left hpf_bypass.

Note
This function is used to disable PDM left hpf_bypass

Register|BitsName --------|-------- HPF_CFG_L | HPY_BYPASS

Parameters
PDMxPDM instance

Definition at line 1812 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_HPF_BYPASS_DISABLE.

◆ ll_pdm_disable_left_rx()

__STATIC_INLINE void ll_pdm_disable_left_rx ( pdm_regs_t *  PDMx)

Disable PDM Module Left RX.

Note
This function is used to set PDM left RX disable

Register|BitsName --------|-------- EN_L | ENABLE_RX

Parameters
PDMxPDM instance
Return values
None

Definition at line 545 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_RX_DISABLE.

◆ ll_pdm_disable_left_sample_dmic()

__STATIC_INLINE void ll_pdm_disable_left_sample_dmic ( pdm_regs_t *  PDMx)

Disable PDM Module Left sample dmic.

Note
This function is used to set PDM Left sample dmic enable

Register|BitsName --------|-------- EN_L | SAMPLE_DMIC

Parameters
PDMxPDM instance
Return values
None

Definition at line 643 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_SAMPLE_DMIC_DISABLE.

◆ ll_pdm_disable_left_stage0()

__STATIC_INLINE void ll_pdm_disable_left_stage0 ( pdm_regs_t *  PDMx)

Disable PDM Module Left stage0.

Note
This function is used to set PDM Left stage0 enable

Register|BitsName --------|-------- EN_L | EN_STAGE0

Parameters
PDMxPDM instance
Return values
None

Definition at line 739 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE0_DISABLE.

◆ ll_pdm_disable_left_stage1()

__STATIC_INLINE void ll_pdm_disable_left_stage1 ( pdm_regs_t *  PDMx)

Disable PDM Module Left stage1.

Note
This function is used to set PDM Left stage1 enable

Register|BitsName --------|-------- EN_L | EN_STAGE1

Parameters
PDMxPDM instance
Return values
None

Definition at line 835 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE1_DISABLE.

◆ ll_pdm_disable_left_stage2()

__STATIC_INLINE void ll_pdm_disable_left_stage2 ( pdm_regs_t *  PDMx)

Disable PDM Module Left stage2.

Note
This function is used to set PDM Left stage1 enable

Register|BitsName --------|-------- EN_L | EN_STAGE2

Parameters
PDMxPDM instance
Return values
None

Definition at line 931 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE2_DISABLE.

◆ ll_pdm_disable_left_stage3()

__STATIC_INLINE void ll_pdm_disable_left_stage3 ( pdm_regs_t *  PDMx)

Disable PDM Module Left stage3.

Note
This function is used to set PDM Left stage3 enable

Register|BitsName --------|-------- EN_L | EN_STAGE3

Parameters
PDMxPDM instance
Return values
None

Definition at line 1027 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE3_DISABLE.

◆ ll_pdm_disable_left_stage4()

__STATIC_INLINE void ll_pdm_disable_left_stage4 ( pdm_regs_t *  PDMx)

Disable PDM Module Left stage4.

Note
This function is used to set PDM Left stage4 enable

Register|BitsName --------|-------- EN_L | EN_STAGE4

Parameters
PDMxPDM instance
Return values
None

Definition at line 1123 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE4_DISABLE.

◆ ll_pdm_disable_left_stage5()

__STATIC_INLINE void ll_pdm_disable_left_stage5 ( pdm_regs_t *  PDMx)

Disable PDM Module Left stage5.

Note
This function is used to set PDM Left stage5 enable

Register|BitsName --------|-------- EN_L | EN_STAGE5

Parameters
PDMxPDM instance
Return values
None

Definition at line 1219 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE5_DISABLE.

◆ ll_pdm_disable_left_stage6()

__STATIC_INLINE void ll_pdm_disable_left_stage6 ( pdm_regs_t *  PDMx)

Disable PDM Module Left stage6.

Note
This function is used to set PDM Left stage6 enable

Register|BitsName --------|-------- EN_L | EN_STAGE6

Parameters
PDMxPDM instance
Return values
None

Definition at line 1315 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE6_DISABLE.

◆ ll_pdm_disable_left_stage7()

__STATIC_INLINE void ll_pdm_disable_left_stage7 ( pdm_regs_t *  PDMx)

Disable PDM Module Left stage7.

Note
This function is used to set PDM Left stage7 enable

Register|BitsName --------|-------- EN_L | EN_STAGE7

Parameters
PDMxPDM instance
Return values
None

Definition at line 1411 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE7_DISABLE.

◆ ll_pdm_disable_right_channel()

__STATIC_INLINE void ll_pdm_disable_right_channel ( pdm_regs_t *  PDMx)

PDM Module disable right channel sample dmic..

Note
This function is used to set PDM right disable register

Register|BitsName --------|-------- EN_L | ENABLE_RX

Parameters
PDMxPDM instance
Return values
None

Definition at line 505 of file gr55xx_ll_pdm.h.

◆ ll_pdm_disable_right_hpf()

__STATIC_INLINE void ll_pdm_disable_right_hpf ( pdm_regs_t *  PDMx)

Disable PDM Module right hpf.

Note
This function is used to set PDM right hpf enable

Register|BitsName --------|-------- EN_R | EN_HPF

Parameters
PDMxPDM instance
Return values
None

Definition at line 1555 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_HPF_DISABLE.

◆ ll_pdm_disable_right_hpf_freeze_en()

__STATIC_INLINE void ll_pdm_disable_right_hpf_freeze_en ( pdm_regs_t *  PDMx)

Disable PDM right hpf_freeze_en.

Note
This function is used to disable PDM righthpf_freeze_en

Register|BitsName --------|-------- HPF_CFG_R | HPY_FREEZE_EN

Parameters
PDMxPDM instance

Definition at line 2035 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_HPF_FREEZE_DISABLE.

◆ ll_pdm_disable_right_hpy_bypass()

__STATIC_INLINE void ll_pdm_disable_right_hpy_bypass ( pdm_regs_t *  PDMx)

Disable PDM right hpf_bypass.

Note
This function is used to disable PDM right hpf_bypass

Register|BitsName --------|-------- HPF_CFG_R | HPY_BYPASS

Parameters
PDMxPDM instance

Definition at line 1859 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_HPF_BYPASS_DISABLE.

◆ ll_pdm_disable_right_rx()

__STATIC_INLINE void ll_pdm_disable_right_rx ( pdm_regs_t *  PDMx)

Disable PDM Module right RX.

Note
This function is used to set PDM right RX disable

Register|BitsName --------|-------- EN_R | ENABLE_RX

Parameters
PDMxPDM instance
Return values
None

Definition at line 594 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_RX_DISABLE.

◆ ll_pdm_disable_right_sample_dmic()

__STATIC_INLINE void ll_pdm_disable_right_sample_dmic ( pdm_regs_t *  PDMx)

Disable PDM Module right sample dmic.

Note
This function is used to set PDM right sample dmic enable

Register|BitsName --------|-------- EN_R | SAMPLE_DMIC

Parameters
PDMxPDM instance
Return values
None

Definition at line 691 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_SAMPLE_DMIC_DISABLE.

◆ ll_pdm_disable_right_stage0()

__STATIC_INLINE void ll_pdm_disable_right_stage0 ( pdm_regs_t *  PDMx)

Disable PDM Module right stage0.

Note
This function is used to set PDM right stage0 enable

Register|BitsName --------|-------- EN_R | EN_STAGE0

Parameters
PDMxPDM instance
Return values
None

Definition at line 787 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE0_DISABLE.

◆ ll_pdm_disable_right_stage1()

__STATIC_INLINE void ll_pdm_disable_right_stage1 ( pdm_regs_t *  PDMx)

Disable PDM Module right stage1.

Note
This function is used to set PDM right stage1 enable

Register|BitsName --------|-------- EN_R | EN_STAGE1

Parameters
PDMxPDM instance
Return values
None

Definition at line 883 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE1_DISABLE.

◆ ll_pdm_disable_right_stage2()

__STATIC_INLINE void ll_pdm_disable_right_stage2 ( pdm_regs_t *  PDMx)

Disable PDM Module right stage2.

Note
This function is used to set PDM right stage2 enable

Register|BitsName --------|-------- EN_R | EN_STAGE2

Parameters
PDMxPDM instance
Return values
None

Definition at line 979 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE2_DISABLE.

◆ ll_pdm_disable_right_stage3()

__STATIC_INLINE void ll_pdm_disable_right_stage3 ( pdm_regs_t *  PDMx)

Disable PDM Module right stage3.

Note
This function is used to set PDM right stage3 enable

Register|BitsName --------|-------- EN_R | EN_STAGE3

Parameters
PDMxPDM instance
Return values
None

Definition at line 1075 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE3_DISABLE.

◆ ll_pdm_disable_right_stage4()

__STATIC_INLINE void ll_pdm_disable_right_stage4 ( pdm_regs_t *  PDMx)

Disable PDM Module right stage4.

Note
This function is used to set PDM right stage4 enable

Register|BitsName --------|-------- EN_R | EN_STAGE4

Parameters
PDMxPDM instance
Return values
None

Definition at line 1171 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE4_DISABLE.

◆ ll_pdm_disable_right_stage5()

__STATIC_INLINE void ll_pdm_disable_right_stage5 ( pdm_regs_t *  PDMx)

Disable PDM Module right stage5.

Note
This function is used to set PDM right stage5 enable

Register|BitsName --------|-------- EN_R | EN_STAGE5

Parameters
PDMxPDM instance
Return values
None

Definition at line 1267 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE5_DISABLE.

◆ ll_pdm_disable_right_stage6()

__STATIC_INLINE void ll_pdm_disable_right_stage6 ( pdm_regs_t *  PDMx)

Disable PDM Module right stage6.

Note
This function is used to set PDM right stage6 enable

Register|BitsName --------|-------- EN_R | EN_STAGE6

Parameters
PDMxPDM instance
Return values
None

Definition at line 1363 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE6_DISABLE.

◆ ll_pdm_disable_right_stage7()

__STATIC_INLINE void ll_pdm_disable_right_stage7 ( pdm_regs_t *  PDMx)

Disable PDM Module right stage7.

Note
This function is used to set PDM right stage7 enable

Register|BitsName --------|-------- EN_R | EN_STAGE7

Parameters
PDMxPDM instance
Return values
None

Definition at line 1459 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE7_DISABLE.

◆ ll_pdm_enable_clk()

__STATIC_INLINE void ll_pdm_enable_clk ( pdm_regs_t *  PDMx)

Enable PDM Module CLK.

Note
This function is used to enable the PDM Module CLK.

Register|BitsName --------|-------- PDM_CLK | EN

Parameters
PDMxPDM instance.
Return values
None

Definition at line 281 of file gr55xx_ll_pdm.h.

References LL_PDM_CLK_ENABLE.

◆ ll_pdm_enable_left_channel()

__STATIC_INLINE void ll_pdm_enable_left_channel ( pdm_regs_t *  PDMx)

PDM Module enable left channel sample dmic.

Note
This function is used to set PDM left enable register

Register|BitsName --------|-------- EN_L | ENABLE_RX

Parameters
PDMxPDM instance
Return values
None

Definition at line 433 of file gr55xx_ll_pdm.h.

◆ ll_pdm_enable_left_hpf()

__STATIC_INLINE void ll_pdm_enable_left_hpf ( pdm_regs_t *  PDMx)

Enable PDM Module Left hpf.

Note
This function is used to set PDM Left hpf enable

Register|BitsName --------|-------- EN_L | EN_HPF

Parameters
PDMxPDM instance
Return values
None

Definition at line 1491 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_HPF_ENABLE.

◆ ll_pdm_enable_left_hpf_freeze_en()

__STATIC_INLINE void ll_pdm_enable_left_hpf_freeze_en ( pdm_regs_t *  PDMx)

Enable PDM left hpf_freeze_en.

Note
This function is used to set PDM left hpf_freeze_en

Register|BitsName --------|-------- HPF_CFG_L | HPY_FREEZE_EN

Parameters
PDMxPDM instance
Return values
None

Definition at line 1973 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_HPF_FREEZE_ENABLE.

◆ ll_pdm_enable_left_hpy_bypass()

__STATIC_INLINE void ll_pdm_enable_left_hpy_bypass ( pdm_regs_t *  PDMx)

Enable PDM left hpf_bypass.

Note
This function is used to set PDM left hpf_bypass

Register|BitsName --------|-------- HPF_CFG_L | HPY_BYPASS

Parameters
PDMxPDM instance
Return values
None

Definition at line 1797 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_HPF_BYPASS_ENABLE.

◆ ll_pdm_enable_left_rx()

__STATIC_INLINE void ll_pdm_enable_left_rx ( pdm_regs_t *  PDMx)

Enable PDM Module Left RX.

Note
This function is used to set PDM left RX enable

Register|BitsName --------|-------- EN_L | ENABLE_RX

Parameters
PDMxPDM instance
Return values
None

Definition at line 529 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_RX_ENABLE.

◆ ll_pdm_enable_left_sample_dmic()

__STATIC_INLINE void ll_pdm_enable_left_sample_dmic ( pdm_regs_t *  PDMx)

Enable PDM Module Left sample dmic.

Note
This function is used to set PDM Left sample dmic enable

Register|BitsName --------|-------- EN_L | SAMPLE_DMIC

Parameters
PDMxPDM instance
Return values
None

Definition at line 627 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_SAMPLE_DMIC_ENABLE.

◆ ll_pdm_enable_left_stage0()

__STATIC_INLINE void ll_pdm_enable_left_stage0 ( pdm_regs_t *  PDMx)

Enable PDM Module Left stage0.

Note
This function is used to set PDM Left stage0 enable

Register|BitsName --------|-------- EN_L | EN_STAGE0

Parameters
PDMxPDM instance
Return values
None

Definition at line 723 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE0_ENABLE.

◆ ll_pdm_enable_left_stage1()

__STATIC_INLINE void ll_pdm_enable_left_stage1 ( pdm_regs_t *  PDMx)

Enable PDM Module Left stage1.

Note
This function is used to set PDM Left stage1 enable

Register|BitsName --------|-------- EN_L | EN_STAGE1

Parameters
PDMxPDM instance
Return values
None

Definition at line 819 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE1_ENABLE.

◆ ll_pdm_enable_left_stage2()

__STATIC_INLINE void ll_pdm_enable_left_stage2 ( pdm_regs_t *  PDMx)

Enable PDM Module Left stage2.

Note
This function is used to set PDM Left stage2 enable

Register|BitsName --------|-------- EN_L | EN_STAGE2

Parameters
PDMxPDM instance
Return values
None

Definition at line 915 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE2_ENABLE.

◆ ll_pdm_enable_left_stage3()

__STATIC_INLINE void ll_pdm_enable_left_stage3 ( pdm_regs_t *  PDMx)

Enable PDM Module Left stage3.

Note
This function is used to set PDM Left stage3 enable

Register|BitsName --------|-------- EN_L | EN_STAGE3

Parameters
PDMxPDM instance
Return values
None

Definition at line 1011 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE3_ENABLE.

◆ ll_pdm_enable_left_stage4()

__STATIC_INLINE void ll_pdm_enable_left_stage4 ( pdm_regs_t *  PDMx)

Enable PDM Module Left stage4.

Note
This function is used to set PDM Left stage4 enable

Register|BitsName --------|-------- EN_L | EN_STAGE4

Parameters
PDMxPDM instance
Return values
None

Definition at line 1107 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE4_ENABLE.

◆ ll_pdm_enable_left_stage5()

__STATIC_INLINE void ll_pdm_enable_left_stage5 ( pdm_regs_t *  PDMx)

Enable PDM Module Left stage5.

Note
This function is used to set PDM Left stage5 enable

Register|BitsName --------|-------- EN_L | EN_STAGE5

Parameters
PDMxPDM instance
Return values
None

Definition at line 1203 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE5_ENABLE.

◆ ll_pdm_enable_left_stage6()

__STATIC_INLINE void ll_pdm_enable_left_stage6 ( pdm_regs_t *  PDMx)

Enable PDM Module Left stage6.

Note
This function is used to set PDM Left stage6 enable

Register|BitsName --------|-------- EN_L | EN_STAGE6

Parameters
PDMxPDM instance
Return values
None

Definition at line 1299 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE6_ENABLE.

◆ ll_pdm_enable_left_stage7()

__STATIC_INLINE void ll_pdm_enable_left_stage7 ( pdm_regs_t *  PDMx)

Enable PDM Module Left stage7.

Note
This function is used to set PDM Left stage7 enable

Register|BitsName --------|-------- EN_L | EN_STAGE7

Parameters
PDMxPDM instance
Return values
None

Definition at line 1395 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE7_ENABLE.

◆ ll_pdm_enable_right_channel()

__STATIC_INLINE void ll_pdm_enable_right_channel ( pdm_regs_t *  PDMx)

PDM Module enable right channel sample dmic..

Note
This function is used to set PDM right enable register

Register|BitsName --------|-------- EN_L | ENABLE_RX

Parameters
PDMxPDM instance
Return values
None

Definition at line 481 of file gr55xx_ll_pdm.h.

◆ ll_pdm_enable_right_hpf()

__STATIC_INLINE void ll_pdm_enable_right_hpf ( pdm_regs_t *  PDMx)

Enable PDM Module right hpf.

Note
This function is used to set PDM right hpf enable

Register|BitsName --------|-------- EN_R | EN_HPF

Parameters
PDMxPDM instance
Return values
None

Definition at line 1539 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_HPF_ENABLE.

◆ ll_pdm_enable_right_hpf_freeze_en()

__STATIC_INLINE void ll_pdm_enable_right_hpf_freeze_en ( pdm_regs_t *  PDMx)

Enable PDM right hpf_freeze_en.

Note
This function is used to set PDM right hpf_freeze_en

Register|BitsName --------|-------- HPF_CFG_R | HPY_FREEZE_EN

Parameters
PDMxPDM instance
Return values
None

Definition at line 2020 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_HPF_FREEZE_ENABLE.

◆ ll_pdm_enable_right_hpy_bypass()

__STATIC_INLINE void ll_pdm_enable_right_hpy_bypass ( pdm_regs_t *  PDMx)

Enable PDM right hpf_bypass.

Note
This function is used to set PDM right hpf_bypass

Register|BitsName --------|-------- HPF_CFG_R | HPY_BYPASS

Parameters
PDMxPDM instance
Return values
None

Definition at line 1844 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_HPF_BYPASS_ENABLE.

◆ ll_pdm_enable_right_rx()

__STATIC_INLINE void ll_pdm_enable_right_rx ( pdm_regs_t *  PDMx)

Enable PDM Module right RX.

Note
This function is used to set PDM right RX enable

Register|BitsName --------|-------- EN_R | ENABLE_RX

Parameters
PDMxPDM instance
Return values
None

Definition at line 578 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_RX_ENABLE.

◆ ll_pdm_enable_right_sample_dmic()

__STATIC_INLINE void ll_pdm_enable_right_sample_dmic ( pdm_regs_t *  PDMx)

Enable PDM Module right sample dmic.

Note
This function is used to set PDM right sample dmic enable

Register|BitsName --------|-------- EN_R | SAMPLE_DMIC

Parameters
PDMxPDM instance
Return values
None

Definition at line 675 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_SAMPLE_DMIC_ENABLE.

◆ ll_pdm_enable_right_stage0()

__STATIC_INLINE void ll_pdm_enable_right_stage0 ( pdm_regs_t *  PDMx)

Enable PDM Module right stage0.

Note
This function is used to set PDM right stage0 enable

Register|BitsName --------|-------- EN_R | EN_STAGE0

Parameters
PDMxPDM instance
Return values
None

Definition at line 771 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE0_ENABLE.

◆ ll_pdm_enable_right_stage1()

__STATIC_INLINE void ll_pdm_enable_right_stage1 ( pdm_regs_t *  PDMx)

Enable PDM Module right stage1.

Note
This function is used to set PDM right stage1 enable

Register|BitsName --------|-------- EN_R | EN_STAGE1

Parameters
PDMxPDM instance
Return values
None

Definition at line 867 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE1_ENABLE.

◆ ll_pdm_enable_right_stage2()

__STATIC_INLINE void ll_pdm_enable_right_stage2 ( pdm_regs_t *  PDMx)

Enable PDM Module right stage2.

Note
This function is used to set PDM right stage2 enable

Register|BitsName --------|-------- EN_R | EN_STAGE2

Parameters
PDMxPDM instance
Return values
None

Definition at line 963 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE2_ENABLE.

◆ ll_pdm_enable_right_stage3()

__STATIC_INLINE void ll_pdm_enable_right_stage3 ( pdm_regs_t *  PDMx)

Enable PDM Module right stage3.

Note
This function is used to set PDM right stage3 enable

Register|BitsName --------|-------- EN_R | EN_STAGE3

Parameters
PDMxPDM instance
Return values
None

Definition at line 1059 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE3_ENABLE.

◆ ll_pdm_enable_right_stage4()

__STATIC_INLINE void ll_pdm_enable_right_stage4 ( pdm_regs_t *  PDMx)

Enable PDM Module right stage4.

Note
This function is used to set PDM right stage4 enable

Register|BitsName --------|-------- EN_R | EN_STAGE4

Parameters
PDMxPDM instance
Return values
None

Definition at line 1155 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE4_ENABLE.

◆ ll_pdm_enable_right_stage5()

__STATIC_INLINE void ll_pdm_enable_right_stage5 ( pdm_regs_t *  PDMx)

Enable PDM Module right stage5.

Note
This function is used to set PDM right stage5 enable

Register|BitsName --------|-------- EN_R | EN_STAGE5

Parameters
PDMxPDM instance
Return values
None

Definition at line 1251 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE5_ENABLE.

◆ ll_pdm_enable_right_stage6()

__STATIC_INLINE void ll_pdm_enable_right_stage6 ( pdm_regs_t *  PDMx)

Enable PDM Module right stage6.

Note
This function is used to set PDM right stage6 enable

Register|BitsName --------|-------- EN_R | EN_STAGE6

Parameters
PDMxPDM instance
Return values
None

Definition at line 1347 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE6_ENABLE.

◆ ll_pdm_enable_right_stage7()

__STATIC_INLINE void ll_pdm_enable_right_stage7 ( pdm_regs_t *  PDMx)

Enable PDM Module right stage7.

Note
This function is used to set PDM right stage7 enable

Register|BitsName --------|-------- EN_R | EN_STAGE7

Parameters
PDMxPDM instance
Return values
None

Definition at line 1443 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE7_ENABLE.

◆ ll_pdm_get_left_data()

__STATIC_INLINE uint32_t ll_pdm_get_left_data ( pdm_regs_t *  PDMx)

Get PDM left data.

Note
This function is used to get PDM left data

Register|BitsName --------|-------- DATA_L | DATA

Parameters
PDMxPDM instance
Return values
canbe one of the following values: Min 0x0 Max 0xFFFF

Definition at line 2138 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_left_hpf_corner()

__STATIC_INLINE uint32_t ll_pdm_get_left_hpf_corner ( pdm_regs_t *  PDMx)

Get PDM left hpf corner.

Note
This function is used to get PDM left hpf corner

Register|BitsName --------|-------- HPF_CFG_L | HPF_CORNER

Parameters
PDMxPDM instance
Return values
canbe one of the following values:

Definition at line 1916 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_left_pga_val()

__STATIC_INLINE uint32_t ll_pdm_get_left_pga_val ( pdm_regs_t *  PDMx)

Get PDM left pga_value.

Note
This function is used to get PDM left pga_value

Register|BitsName --------|-------- PGA_CFG_L | PGA_VAL

Parameters
PDMxPDM instance
Return values
canbe one of the following values: Min 0x0 Max 0x3FFF

Definition at line 2086 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_left_rxd_upsample()

__STATIC_INLINE uint32_t ll_pdm_get_left_rxd_upsample ( pdm_regs_t *  PDMx)

Get PDM left rxd upsample.

Note
This function is used to get PDM left rxd upsample

Register|BitsName --------|-------- INPUT_CFG_L | RXD_UPSAMPLE

Parameters
PDMxPDM instance
Return values
canbe one of the following values: 0x0 or 0x1

Definition at line 1606 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_left_stage_init()

__STATIC_INLINE uint32_t ll_pdm_get_left_stage_init ( pdm_regs_t *  PDMx)

Get PDM left statge init.

Note
This function is used to get PDM left statge init

Register|BitsName --------|-------- INPUT_CFG_L | STAGE_INIT

Parameters
PDMxPDM instance
Return values
canbe one of the following values: 0x0 or 0x2

Definition at line 1676 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_left_upsample_factor()

__STATIC_INLINE uint32_t ll_pdm_get_left_upsample_factor ( pdm_regs_t *  PDMx)

Get PDM left upsample factor.

Note
This function is used to get PDM left upsample factor

Register|BitsName --------|-------- LPF_CFG_L | UPSAMPLE_FACTOR

Parameters
PDMxPDM instance
Return values
canbe one of the following values: 0x0 or 0x2

Definition at line 1746 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_negedge_en_pulse_cfg()

__STATIC_INLINE uint32_t ll_pdm_get_negedge_en_pulse_cfg ( pdm_regs_t *  PDMx)

Get PDM posedge en pulse cfg.

Register|BitsName --------|-------- PDM_CLK_DIV | TARGET

Parameters
PDMxPDM instance
Return values
None

Definition at line 417 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_posedge_en_pulse_cfg()

__STATIC_INLINE uint32_t ll_pdm_get_posedge_en_pulse_cfg ( pdm_regs_t *  PDMx)

Get PDM posedge en pulse cfg.

Register|BitsName --------|-------- PDM_CLK_DIV | TARGET

Parameters
PDMxPDM instance
Return values
None

Definition at line 384 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_right_data()

__STATIC_INLINE uint32_t ll_pdm_get_right_data ( pdm_regs_t *  PDMx)

Get PDM right data.

Note
This function is used to get PDM right data

Register|BitsName --------|-------- DATA_R | DATA

Parameters
PDMxPDM instance
Return values
canbe one of the following values: Min 0x0 Max 0xFFFF

Definition at line 2155 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_right_hpf_corner()

__STATIC_INLINE uint32_t ll_pdm_get_right_hpf_corner ( pdm_regs_t *  PDMx)

Get PDM right hpf corner.

Note
This function is used to get PDM right hpf corner

Register|BitsName --------|-------- HPF_CFG_R | HPF_CORNER

Parameters
PDMxPDM instance
Return values
canbe one of the following values:

Definition at line 1957 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_right_pga_val()

__STATIC_INLINE uint32_t ll_pdm_get_right_pga_val ( pdm_regs_t *  PDMx)

Get PDM right pga_value.

Note
This function is used to get PDM right pga_value

Register|BitsName --------|-------- PGA_CFG_R | PGA_VAL

Parameters
PDMxPDM instance
Return values
canbe one of the following values: Min 0x0 Max 0x3FFF

Definition at line 2121 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_right_rxd_upsample()

__STATIC_INLINE uint32_t ll_pdm_get_right_rxd_upsample ( pdm_regs_t *  PDMx)

Get PDM right rxd upsample.

Note
This function is used to get PDM right rxd upsample

Register|BitsName --------|-------- INPUT_CFG_L | RXD_UPSAMPLE

Parameters
PDMxPDM instance
Return values
canbe one of the following values: 0x0 or 0x1

Definition at line 1641 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_right_stage_init()

__STATIC_INLINE uint32_t ll_pdm_get_right_stage_init ( pdm_regs_t *  PDMx)

Get PDM right statge init.

Note
This function is used to get PDM right statge init

Register|BitsName --------|-------- INPUT_CFG_R | STAGE_INIT

Parameters
PDMxPDM instance
Return values
canbe one of the following values: 0x0 or 0x2

Definition at line 1711 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_right_upsample_factor()

__STATIC_INLINE uint32_t ll_pdm_get_right_upsample_factor ( pdm_regs_t *  PDMx)

Get PDM right upsample factor.

Note
This function is used to get PDM right upsample factor

Register|BitsName --------|-------- LPF_CFG_R | UPSAMPLE_FACTOR

Parameters
PDMxPDM instance
Return values
canbe one of the following values: 0x0 or 0x2

Definition at line 1781 of file gr55xx_ll_pdm.h.

◆ ll_pdm_get_sample_rate()

__STATIC_INLINE uint32_t ll_pdm_get_sample_rate ( pdm_regs_t *  PDMx)

Get PDM sample rate.

Register|BitsName --------|-------- PDM_CLK | SMAPLE_RATE

Parameters
PDMxPDM instance
Return values
oneof the following values:

Definition at line 351 of file gr55xx_ll_pdm.h.

◆ ll_pdm_is_enable_clk()

__STATIC_INLINE uint32_t ll_pdm_is_enable_clk ( pdm_regs_t *  PDMx)

Disable PDM Module CLK.

Note
This function is used to check the PDM Module CLK is enabled.

Register|BitsName --------|-------- PDM_CLK | EN

Parameters
PDMxPDM instance.
Return values
None

Definition at line 313 of file gr55xx_ll_pdm.h.

References LL_PDM_CLK_ENABLE.

◆ ll_pdm_is_enable_left_hpf()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_hpf ( pdm_regs_t *  PDMx)

is PDM enables left hpf

Note
This function is used to check the PDM Module left hpf is enabled.

Register|BitsName --------|-------- EN_L | EN_HPF

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1523 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_HPF_ENABLE.

◆ ll_pdm_is_enable_left_hpf_freeze_en()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_hpf_freeze_en ( pdm_regs_t *  PDMx)

is PDM enables left hpf_freeze_en

Note
This function is used to check the PDM Module left hpf_freeze_en is enabled.

Register|BitsName --------|-------- HPF_CFG_L | HPY_FREEZE_EN

Parameters
PDMxPDM instance.
Return values
None

Definition at line 2004 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_HPF_FREEZE_ENABLE.

◆ ll_pdm_is_enable_left_hpy_bypass()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_hpy_bypass ( pdm_regs_t *  PDMx)

is PDM enables right stage7

Note
This function is used to check the PDM Module right stage7 is enabled.

Register|BitsName --------|-------- EN_R | EN_STAGE7

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1828 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_HPF_BYPASS_ENABLE.

◆ ll_pdm_is_enable_left_rx()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_rx ( pdm_regs_t *  PDMx)

is PDM enables left rx

Note
This function is used to check the PDM Module left rx is enabled.

Register|BitsName --------|-------- EN_L | ENABLE_RX

Parameters
PDMxPDM instance.
Return values
None

Definition at line 561 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_RX_ENABLE.

◆ ll_pdm_is_enable_left_sample_dmic()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_sample_dmic ( pdm_regs_t *  PDMx)

is PDM enables left rx

Note
This function is used to check the PDM Module left rx is enabled.

Register|BitsName --------|-------- EN_L | SAMPLE_DMIC

Parameters
PDMxPDM instance.
Return values
None

Definition at line 659 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_SAMPLE_DMIC_ENABLE.

◆ ll_pdm_is_enable_left_stage0()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage0 ( pdm_regs_t *  PDMx)

is PDM enables left stage0

Note
This function is used to check the PDM Module left stage0 is enabled.

Register|BitsName --------|-------- EN_L | EN_STAGE0

Parameters
PDMxPDM instance.
Return values
None

Definition at line 755 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE0_ENABLE.

◆ ll_pdm_is_enable_left_stage1()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage1 ( pdm_regs_t *  PDMx)

is PDM enables left stage1

Note
This function is used to check the PDM Module left stage1 is enabled.

Register|BitsName --------|-------- EN_L | EN_STAGE1

Parameters
PDMxPDM instance.
Return values
None

Definition at line 851 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE1_ENABLE.

◆ ll_pdm_is_enable_left_stage2()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage2 ( pdm_regs_t *  PDMx)

is PDM enables left stage2

Note
This function is used to check the PDM Module left stage2 is enabled.

Register|BitsName --------|-------- EN_L | EN_STAGE2

Parameters
PDMxPDM instance.
Return values
None

Definition at line 947 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE2_ENABLE.

◆ ll_pdm_is_enable_left_stage3()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage3 ( pdm_regs_t *  PDMx)

is PDM enables left stage3

Note
This function is used to check the PDM Module left stage3 is enabled.

Register|BitsName --------|-------- EN_L | EN_STAGE3

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1043 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE3_ENABLE.

◆ ll_pdm_is_enable_left_stage4()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage4 ( pdm_regs_t *  PDMx)

is PDM enables left stage4

Note
This function is used to check the PDM Module left stage4 is enabled.

Register|BitsName --------|-------- EN_L | EN_STAGE4

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1139 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE4_ENABLE.

◆ ll_pdm_is_enable_left_stage5()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage5 ( pdm_regs_t *  PDMx)

is PDM enables left stage5

Note
This function is used to check the PDM Module left stage5 is enabled.

Register|BitsName --------|-------- EN_L | EN_STAGE5

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1235 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE5_ENABLE.

◆ ll_pdm_is_enable_left_stage6()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage6 ( pdm_regs_t *  PDMx)

is PDM enables left stage6

Note
This function is used to check the PDM Module left stage6 is enabled.

Register|BitsName --------|-------- EN_L | EN_STAGE6

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1331 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE6_ENABLE.

◆ ll_pdm_is_enable_left_stage7()

__STATIC_INLINE uint32_t ll_pdm_is_enable_left_stage7 ( pdm_regs_t *  PDMx)

is PDM enables left stage7

Note
This function is used to check the PDM Module left stage7 is enabled.

Register|BitsName --------|-------- EN_L | EN_STAGE7

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1427 of file gr55xx_ll_pdm.h.

References LL_PDM_LEFT_STAGE7_ENABLE.

◆ ll_pdm_is_enable_right_hpf()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_hpf ( pdm_regs_t *  PDMx)

is PDM enables right hpf

Note
This function is used to check the PDM Module right hpf is enabled.

Register|BitsName --------|-------- EN_R | EN_HPF

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1571 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_HPF_ENABLE.

◆ ll_pdm_is_enable_right_hpf_freeze_en()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_hpf_freeze_en ( pdm_regs_t *  PDMx)

is PDM enables right hpf_freeze_en

Note
This function is used to check the PDM Module right hpf_freeze_en is enabled.

Register|BitsName --------|-------- HPF_CFG_R | HPY_FREEZE_EN

Parameters
PDMxPDM instance.
Return values
None

Definition at line 2051 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_HPF_FREEZE_ENABLE.

◆ ll_pdm_is_enable_right_hpy_bypass()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_hpy_bypass ( pdm_regs_t *  PDMx)

is PDM enables right hpf_bypass

Note
This function is used to check the PDM Module right hpf_bypass is enabled.

Register|BitsName --------|-------- HPF_CFG_R | HPY_BYPASS

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1875 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_HPF_BYPASS_ENABLE.

◆ ll_pdm_is_enable_right_rx()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_rx ( pdm_regs_t *  PDMx)

is PDM enables right rx

Note
This function is used to check the PDM Module right rx is enabled.

Register|BitsName --------|-------- EN_R | EN

Parameters
PDMxPDM instance.
Return values
None

Definition at line 610 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_RX_ENABLE.

◆ ll_pdm_is_enable_right_sample_dmic()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_sample_dmic ( pdm_regs_t *  PDMx)

is PDM enables right rx

Note
This function is used to check the PDM Module right rx is enabled.

Register|BitsName --------|-------- EN_R | SAMPLE_DMIC

Parameters
PDMxPDM instance.
Return values
None

Definition at line 707 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_SAMPLE_DMIC_ENABLE.

◆ ll_pdm_is_enable_right_stage0()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage0 ( pdm_regs_t *  PDMx)

is PDM enables right stage0

Note
This function is used to check the PDM Module right stage0is enabled.

Register|BitsName --------|-------- EN_R | EN_STAGE0

Parameters
PDMxPDM instance.
Return values
None

Definition at line 803 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE0_ENABLE.

◆ ll_pdm_is_enable_right_stage1()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage1 ( pdm_regs_t *  PDMx)

is PDM enables right stage1

Note
This function is used to check the PDM Module right stage1is enabled.

Register|BitsName --------|-------- EN_R | EN_STAGE1

Parameters
PDMxPDM instance.
Return values
None

Definition at line 899 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE1_ENABLE.

◆ ll_pdm_is_enable_right_stage2()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage2 ( pdm_regs_t *  PDMx)

is PDM enables right stage2

Note
This function is used to check the PDM Module right stage2 is enabled.

Register|BitsName --------|-------- EN_R | EN_STAGE2

Parameters
PDMxPDM instance.
Return values
None

Definition at line 995 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE2_ENABLE.

◆ ll_pdm_is_enable_right_stage3()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage3 ( pdm_regs_t *  PDMx)

is PDM enables right stage3

Note
This function is used to check the PDM Module right stage3 is enabled.

Register|BitsName --------|-------- EN_R | EN_STAGE3

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1091 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE3_ENABLE.

◆ ll_pdm_is_enable_right_stage4()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage4 ( pdm_regs_t *  PDMx)

is PDM enables right stage4

Note
This function is used to check the PDM Module right stage4 is enabled.

Register|BitsName --------|-------- EN_R | EN_STAGE4

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1187 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE4_ENABLE.

◆ ll_pdm_is_enable_right_stage5()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage5 ( pdm_regs_t *  PDMx)

is PDM enables right stage5

Note
This function is used to check the PDM Module right stage5 is enabled.

Register|BitsName --------|-------- EN_R | EN_STAGE5

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1283 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE5_ENABLE.

◆ ll_pdm_is_enable_right_stage6()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage6 ( pdm_regs_t *  PDMx)

is PDM enables right stage6

Note
This function is used to check the PDM Module right stage6 is enabled.

Register|BitsName --------|-------- EN_R | EN_STAGE6

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1379 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE6_ENABLE.

◆ ll_pdm_is_enable_right_stage7()

__STATIC_INLINE uint32_t ll_pdm_is_enable_right_stage7 ( pdm_regs_t *  PDMx)

is PDM enables right stage7

Note
This function is used to check the PDM Module right stage7 is enabled.

Register|BitsName --------|-------- EN_R | EN_STAGE7

Parameters
PDMxPDM instance.
Return values
None

Definition at line 1475 of file gr55xx_ll_pdm.h.

References LL_PDM_RIGHT_STAGE7_ENABLE.

◆ ll_pdm_left_clear_flag_overflow()

__STATIC_INLINE void ll_pdm_left_clear_flag_overflow ( pdm_regs_t *  PDMx)

Set PDM left overflow.

Note
This function is used to get PDM right overflow

Register|BitsName --------|-------- DATA_R | OVERFLOW

Parameters
PDMxPDM instance
Return values
canbe one of the following values: LL_PDM_LEFT_DATA_OVERFLOW LL_PDM_LEFGT_DATA_NO_OVERFLOW

Definition at line 2245 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_clear_flag_valid()

__STATIC_INLINE void ll_pdm_left_clear_flag_valid ( pdm_regs_t *  PDMx)

Clean PDM left valid.

Note
This function is used to get PDM right overflow

Register|BitsName --------|-------- DATA_R | OVERFLOW

Parameters
PDMxPDM instance
Return values
canbe one of the following values: LL_PDM_LEFT_DATA_OVERFLOW LL_PDM_LEFGT_DATA_NO_OVERFLOW

Definition at line 2173 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_disable_dma_mask()

__STATIC_INLINE void ll_pdm_left_disable_dma_mask ( pdm_regs_t *  PDMx)

set valid dma mask disable

Register|BitsName --------|-------- DATA_L | VALID_DMA_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2509 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_disable_it_overflow()

__STATIC_INLINE void ll_pdm_left_disable_it_overflow ( pdm_regs_t *  PDMx)

disable .overflow inter

Register|BitsName --------|-------- INTR_L | OVERFLOW_INT_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2419 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_disable_it_valid()

__STATIC_INLINE void ll_pdm_left_disable_it_valid ( pdm_regs_t *  PDMx)

disable .valid inter

Register|BitsName --------|-------- INTR_L | VALID_INT_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2329 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_enable_dma_mask()

__STATIC_INLINE void ll_pdm_left_enable_dma_mask ( pdm_regs_t *  PDMx)

set valid dma mask enable

Register|BitsName --------|-------- DATA_L | VALID_DMA_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2494 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_enable_it_overflow()

__STATIC_INLINE void ll_pdm_left_enable_it_overflow ( pdm_regs_t *  PDMx)

enable .overflow inter

Register|BitsName --------|-------- INTR_L | OVERFLOW_INT_MASK

Parameters
PDMxPDMx instance
Return values
Stateof bit (1 or 0).

Definition at line 2404 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_enable_it_valid()

__STATIC_INLINE void ll_pdm_left_enable_it_valid ( pdm_regs_t *  PDMx)

enable .valid inter

Register|BitsName --------|-------- INTR_L | VALID_INT_MASK

Parameters
PDMxPDMx instance
Return values
Stateof bit (1 or 0).

Definition at line 2314 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_is_active_flag_overflow()

__STATIC_INLINE uint32_t ll_pdm_left_is_active_flag_overflow ( pdm_regs_t *  PDMx)

Get PDM left overflow.

Note
This function is used to get PDM left overflow

Register|BitsName --------|-------- DATA_L | OVERFLOW

Parameters
PDMxPDM instance
Return values
canbe one of the following values: LL_PDM_LEFT_DATA_OVERFLOW LL_PDM_LEFT_DATA_NO_OVERFLOW

Definition at line 2263 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_is_active_flag_valid()

__STATIC_INLINE uint32_t ll_pdm_left_is_active_flag_valid ( pdm_regs_t *  PDMx)

Get PDM left valid.

Note
This function is used to get PDM left valid

Register|BitsName --------|-------- DATA_L | VALID

Parameters
PDMxPDM instance
Return values
canbe one of the following values: LL_PDM_LEFT_DATA_VALID LL_PDM_LEFT_DATA_INVALID

Definition at line 2191 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_is_enable_it_overflow()

__STATIC_INLINE uint32_t ll_pdm_left_is_enable_it_overflow ( pdm_regs_t *  PDMx)

Get .overflow inter status.

Register|BitsName --------|-------- INTR_L | OVERFLOW_INT_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2434 of file gr55xx_ll_pdm.h.

◆ ll_pdm_left_is_enable_it_valid()

__STATIC_INLINE uint32_t ll_pdm_left_is_enable_it_valid ( pdm_regs_t *  PDMx)

Get .valid inter status.

Register|BitsName --------|-------- INTR_L | VALID_INT_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2344 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_clear_flag_overflow()

__STATIC_INLINE void ll_pdm_right_clear_flag_overflow ( pdm_regs_t *  PDMx)

Set PDM right overflow.

Note
This function is used to get PDM right overflow

Register|BitsName --------|-------- DATA_R | OVERFLOW

Parameters
PDMxPDM instance
Return values
canbe one of the following values: LL_PDM_RIGHT_DATA_OVERFLOW LL_PDM_RIGHT_DATA_NO_OVERFLOW

Definition at line 2281 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_clear_flag_valid()

__STATIC_INLINE void ll_pdm_right_clear_flag_valid ( pdm_regs_t *  PDMx)

Clean PDM right valid.

Note
This function is used to get PDM right overflow

Register|BitsName --------|-------- DATA_R | OVERFLOW

Parameters
PDMxPDM instance
Return values
canbe one of the following values: LL_PDM_LEFT_DATA_OVERFLOW LL_PDM_LEFGT_DATA_NO_OVERFLOW

Definition at line 2209 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_disable_dma_mask()

__STATIC_INLINE void ll_pdm_right_disable_dma_mask ( pdm_regs_t *  PDMx)

set valid dma mask disable

Register|BitsName --------|-------- DATA_R | VALID_DMA_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2539 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_disable_it_overflow()

__STATIC_INLINE void ll_pdm_right_disable_it_overflow ( pdm_regs_t *  PDMx)

disable .overflow inter

Register|BitsName --------|-------- INTR_R | OVERFLOW_INT_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2464 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_disable_it_valid()

__STATIC_INLINE void ll_pdm_right_disable_it_valid ( pdm_regs_t *  PDMx)

Clean the status of .valid inter status.

Register|BitsName --------|-------- INTR_R | VALID_INT_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2374 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_enable_dma_mask()

__STATIC_INLINE void ll_pdm_right_enable_dma_mask ( pdm_regs_t *  PDMx)

set valid dma mask enable

Register|BitsName --------|-------- DATA_R | VALID_DMA_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2524 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_enable_it_overflow()

__STATIC_INLINE void ll_pdm_right_enable_it_overflow ( pdm_regs_t *  PDMx)

enable .overflow inter

Register|BitsName --------|-------- INTR_R | OVERFLOW_INT_MASK

Parameters
PDMxPDMx instance
Return values
Stateof bit (1 or 0).

Definition at line 2449 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_enable_it_valid()

__STATIC_INLINE void ll_pdm_right_enable_it_valid ( pdm_regs_t *  PDMx)

enable .valid inter

Register|BitsName --------|-------- INTR_R | VALID_INT_MASK

Parameters
PDMxPDMx instance
Return values
Stateof bit (1 or 0).

Definition at line 2359 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_is_active_flag_overflow()

__STATIC_INLINE uint32_t ll_pdm_right_is_active_flag_overflow ( pdm_regs_t *  PDMx)

Get PDM right overflow.

Note
This function is used to get PDM right overflow

Register|BitsName --------|-------- DATA_R | OVERFLOW

Parameters
PDMxPDM instance
Return values
canbe one of the following values: LL_PDM_RIGHT_DATA_OVERFLOW LL_PDM_RIGHT_DATA_NO_OVERFLOW

Definition at line 2299 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_is_active_flag_valid()

__STATIC_INLINE uint32_t ll_pdm_right_is_active_flag_valid ( pdm_regs_t *  PDMx)

Get PDM right valid.

Note
This function is used to get PDM right valid

Register|BitsName --------|-------- DATA_R | VALID

Parameters
PDMxPDM instance
Return values
canbe one of the following values: LL_PDM_RIGHT_DATA_VALID LL_PDM_RIGHT_DATA_INVALID

Definition at line 2227 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_is_enable_it_overflow()

__STATIC_INLINE uint32_t ll_pdm_right_is_enable_it_overflow ( pdm_regs_t *  PDMx)

Get .overflow inter status.

Register|BitsName --------|-------- INTR_R | OVERFLOW_INT_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2479 of file gr55xx_ll_pdm.h.

◆ ll_pdm_right_is_enable_it_valid()

__STATIC_INLINE uint32_t ll_pdm_right_is_enable_it_valid ( pdm_regs_t *  PDMx)

Get .valid inter status.

Register|BitsName --------|-------- INTR_R | VALID_INT_MASK

Parameters
PDMxPDMx instance
Return values
None.

Definition at line 2389 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_left_hpf_corner()

__STATIC_INLINE void ll_pdm_set_left_hpf_corner ( pdm_regs_t *  PDMx,
uint32_t  hpf_corner 
)

Set PDM left hpf corner.

Note
This function is used to set PDM left hpf corner

Register|BitsName --------|-------- HPF_CFG_L | HPF_CORNER

Parameters
PDMxPDM instance
hpf_cornerThis parameter can be one of the following values:
Return values
None

Definition at line 1896 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_left_pga_val()

__STATIC_INLINE void ll_pdm_set_left_pga_val ( pdm_regs_t *  PDMx,
uint32_t  pga_val 
)

Set PDM left pga_value.

Note
This function is used to set PDM left pga_value

Register|BitsName --------|-------- PGA_CFG_L | PGA_VAL

Parameters
PDMxPDM instance
pga_valThis parameter can be one of the following values: Min 0x0 Max 0x3FFF
Return values
None

Definition at line 2069 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_left_rxd_upsample()

__STATIC_INLINE void ll_pdm_set_left_rxd_upsample ( pdm_regs_t *  PDMx,
uint32_t  rxd_upsample 
)

Set PDM left rxd upsample.

Note
This function is used to set PDM left rxd upsample

Register|BitsName --------|-------- INPUT_CFG_L | RXD_UPSAMPLE

Parameters
PDMxPDM instance
rxd_upsampleThis parameter can be one of the following values: Min_Data = 0 and Max_Data = 0x1
Return values
None

Definition at line 1589 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_left_stage_init()

__STATIC_INLINE void ll_pdm_set_left_stage_init ( pdm_regs_t *  PDMx,
uint32_t  stage_init 
)

Set PDM left statge init.

Note
This function is used to set PDM left statge init

Register|BitsName --------|-------- INPUT_CFG_L | STAGE_INIT

Parameters
PDMxPDM instance
stage_initThis parameter can be one of the following values: Min_Data = 0 and Max_Data = 0x2
Return values
None

Definition at line 1659 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_left_upsample_factor()

__STATIC_INLINE void ll_pdm_set_left_upsample_factor ( pdm_regs_t *  PDMx,
uint32_t  upsample_factor 
)

Set PDM left upsample factor.

Note
This function is used to set PDM left upsample factor

Register|BitsName --------|-------- LPF_CFG_L | UPSAMPLE_FACTOR

Parameters
PDMxPDM instance
upsample_factorThis parameter can be one of the following values: Min_Data = 0 and Max_Data = 0x2
Return values
None

Definition at line 1729 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_negedge_en_pulse_cfg()

__STATIC_INLINE void ll_pdm_set_negedge_en_pulse_cfg ( pdm_regs_t *  PDMx,
uint32_t  target 
)

Set PDM negedge en pulse cfg.

Note
This function is Configures how many 16MHz clock cycles after rising edge of PDM_CLK to sample data (negative edge capture)

Register|BitsName --------|-------- PDM_CLK_DIV | TARGET

Parameters
PDMxPDM instance
targetThis parameter can be one of the following values: Min_Data = 0 and Max_Data = 0xF
Return values
None

Definition at line 402 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_posedge_en_pulse_cfg()

__STATIC_INLINE void ll_pdm_set_posedge_en_pulse_cfg ( pdm_regs_t *  PDMx,
uint32_t  target 
)

Set PDM posedge en pulse cfg.

Note
This function is Configures how many 16MHz clock cycles after rising edge of PDM_CLK to sample data (rising edge capture)

Register|BitsName --------|-------- PDM_CLK_DIV | TARGET

Parameters
PDMxPDM instance
targetThis parameter can be one of the following values: Min_Data = 0 and Max_Data = 0xF
Return values
None

Definition at line 369 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_right_hpf_corner()

__STATIC_INLINE void ll_pdm_set_right_hpf_corner ( pdm_regs_t *  PDMx,
uint32_t  hpf_corner 
)

Set PDM right hpf corner.

Note
This function is used to set PDM right hpf corner

Register|BitsName --------|-------- HPF_CFG_R | HPF_CORNER

Parameters
PDMxPDM instance
hpf_cornerThis parameter can be one of the following values:
Return values
None

Definition at line 1937 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_right_pga_val()

__STATIC_INLINE void ll_pdm_set_right_pga_val ( pdm_regs_t *  PDMx,
uint32_t  pga_val 
)

Set PDM right pga_value.

Note
This function is used to set PDM right pga_value

Register|BitsName --------|-------- PGA_CFG_R | PGA_VAL

Parameters
PDMxPDM instance
pga_valThis parameter can be one of the following values: Min 0x0 Max 0x3FFF
Return values
None

Definition at line 2104 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_right_rxd_upsample()

__STATIC_INLINE void ll_pdm_set_right_rxd_upsample ( pdm_regs_t *  PDMx,
uint32_t  rxd_upsample 
)

Set PDM right rxd upsample.

Note
This function is used to set PDM right rxd upsample

Register|BitsName --------|-------- INPUT_CFG_R | RXD_UPSAMPLE

Parameters
PDMxPDM instance
rxd_upsampleThis parameter can be one of the following values: Min_Data = 0 and Max_Data = 0x1
Return values
None

Definition at line 1624 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_right_stage_init()

__STATIC_INLINE void ll_pdm_set_right_stage_init ( pdm_regs_t *  PDMx,
uint32_t  stage_init 
)

Set PDM right statge init.

Note
This function is used to set PDM right statge init

Register|BitsName --------|-------- INPUT_CFG_R | STAGE_INIT

Parameters
PDMxPDM instance
stage_initThis parameter can be one of the following values: Min_Data = 0 and Max_Data = 0x2
Return values
None

Definition at line 1694 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_right_upsample_factor()

__STATIC_INLINE void ll_pdm_set_right_upsample_factor ( pdm_regs_t *  PDMx,
uint32_t  upsample_factor 
)

Set PDM right upsample factor.

Note
This function is used to set PDM right upsample factor

Register|BitsName --------|-------- LPF_CFG_R | UPSAMPLE_FACTOR

Parameters
PDMxPDM instance
upsample_factorThis parameter can be one of the following values: Min_Data = 0 and Max_Data = 0x2
Return values
None

Definition at line 1764 of file gr55xx_ll_pdm.h.

◆ ll_pdm_set_sample_rate()

__STATIC_INLINE void ll_pdm_set_sample_rate ( pdm_regs_t *  PDMx,
uint32_t  sample_rate 
)

Set PDM sample rate.

Note
This function is Configures the sample rate for PDM

Register|BitsName --------|-------- PDM_CLK | SMAPLE_RATE

Parameters
PDMxPDM instance
sample_rateThis parameter can be one of the following values:
Return values
None

Definition at line 333 of file gr55xx_ll_pdm.h.