/* brief Configure fifo settings for DMIC channel param base : The base address of DMIC interface param channel : DMIC channel param trig_level : FIFO trigger level param enable : FIFO level param resetn : FIFO reset return Nothing  */
void DMIC_FifoChannel(DMIC_Type *base, uint32_t channel, uint32_t trig_level, uint32_t enable, uint32_t resetn)
/* brief Configure fifo settings for DMIC channel param base : The base address of DMIC interface param channel : DMIC channel param trig_level : FIFO trigger level param enable : FIFO level param resetn : FIFO reset return Nothing  */
void DMIC_FifoChannel(DMIC_Type *base, uint32_t channel, uint32_t trig_level, uint32_t enable, uint32_t resetn)
{
    base->CHANNEL[channel].FIFO_CTRL =
        ((base->CHANNEL[channel].FIFO_CTRL & (DMIC_CHANNEL_FIFO_CTRL_INTEN_MASK | DMIC_CHANNEL_FIFO_CTRL_DMAEN_MASK)) |
         DMIC_CHANNEL_FIFO_CTRL_TRIGLVL(trig_level) | DMIC_CHANNEL_FIFO_CTRL_ENABLE(enable) |
         DMIC_CHANNEL_FIFO_CTRL_RESETN(resetn));
}