/* Check whether the specified I2S interrupt flag is set or not.  */
flag_status_t ald_i2s_get_mask_flag_status(ald_i2s_handle_t *hperh, ald_i2s_flag_t flag)
/* Check whether the specified I2S interrupt flag is set or not.  */
flag_status_t ald_i2s_get_mask_flag_status(ald_i2s_handle_t *hperh, ald_i2s_flag_t flag)
{
    assert_param(IS_I2S(hperh->perh));
    assert_param(IS_I2S_IF(flag));
    if (hperh->perh->IFM & flag)
        return SET;
    return RESET;
}