/* Enable the PDM module. 
This function enables the PDM module in the mode previously defined by  */
void am_hal_pdm_enable(void)
/* Enable the PDM module. 
This function enables the PDM module in the mode previously defined by  */
void am_hal_pdm_enable(void)
{
    AM_REG(PDM, PCFG) |=  AM_REG_PDM_PCFG_PDMCORE_EN;
    AM_REG(PDM, VCFG) |=  ( AM_REG_PDM_VCFG_IOCLKEN_EN      |
                            AM_REG_PDM_VCFG_PDMCLK_EN       |
                            AM_REG_PDM_VCFG_RSTB_NORM );
}