/* Called whenever a FIFO_TH interrupt is triggered. Sets a flag in dev->impulse_response to read data. (Data reads within the interrupt callback itself result in deadlock)  */
void impulse_response_fifo_callback(void *param, uint32_t port, void *pin_int_data)
/* Called whenever a FIFO_TH interrupt is triggered. Sets a flag in dev->impulse_response to read data. (Data reads within the interrupt callback itself result in deadlock)  */
void impulse_response_fifo_callback(void *param, uint32_t port, void *pin_int_data)
{
	struct cn0503_impulse_response *impresp = ((struct cn0503_dev *)
			param)->impulse_response;
	if (impresp != NULL)
		impresp->data_ready = true;
}