/* param base Base address of the DMIC peripheral. param cb callback Pointer to store callback function. retval None.  */
void DMIC_EnableIntCallback(DMIC_Type *base, dmic_callback_t cb)
/* param base Base address of the DMIC peripheral. param cb callback Pointer to store callback function. retval None.  */
void DMIC_EnableIntCallback(DMIC_Type *base, dmic_callback_t cb)
{
    uint32_t instance;
    instance = DMIC_GetInstance(base);
    NVIC_ClearPendingIRQ(s_dmicIRQ[instance]);
    s_dmicCallback[instance] = cb;
    (void)EnableIRQ(s_dmicIRQ[instance]);
}