/* Check whether the specified channel interrupt is set or reset.  */
it_status_t ald_dma_get_it_status(uint8_t channel, ald_dma_it_flag_t it)
/* Check whether the specified channel interrupt is set or reset.  */
it_status_t ald_dma_get_it_status(uint8_t channel, ald_dma_it_flag_t it)
{
    assert_param(IS_DMA_CHANNEL(channel));
    assert_param(IS_DMA_IT_TYPE(it));
    if (READ_BIT(DMA->IVS, 1 << (channel * 2U + it)))
        return SET;
    return RESET;
}