/* Check whether the specified I2S flag is set or not.  */
flag_status_t ald_i2s_get_status(ald_i2s_handle_t *hperh, ald_i2s_status_t status)
/* Check whether the specified I2S flag is set or not.  */
flag_status_t ald_i2s_get_status(ald_i2s_handle_t *hperh, ald_i2s_status_t status)
{
    assert_param(IS_I2S(hperh->perh));
    assert_param(IS_I2S_STATUS(status));
    if (hperh->perh->STAT & status)
        return SET;
    return RESET;
}