/* Checks whether the specified SPI interrupt has occurred or not.  */
it_status_t ald_spi_get_it_status(ald_spi_handle_t *hperh, ald_spi_it_t it)
/* Checks whether the specified SPI interrupt has occurred or not.  */
it_status_t ald_spi_get_it_status(ald_spi_handle_t *hperh, ald_spi_it_t it)
{
    assert_param(IS_SPI(hperh->perh));
    assert_param(IS_SPI_IT(it));
    if (hperh->perh->IVS & it)
        return SET;
    return RESET;
}