Exemple #1
0
void dw1000_interrupt_fired () {
	// Keep calling the decawave interrupt handler as long as the interrupt pin
	// is asserted.
	do {
		dwt_isr();
	} while (GPIO_ReadInputDataBit(DW_INTERRUPT_PORT, DW_INTERRUPT_PIN));
}
void cph_deca_isr(void) {
	do {
		dwt_isr();
	} while (cph_deca_isr_is_detected() == 1);
}
static void irq_handler(uint32 id, uint32 mask) {
	do {
		dwt_isr();
	} while (cph_deca_isr_is_detected() == 1);
}
static void irq_handler(uint32_t id, uint32_t mask) {
	int_count++;
	do {
		dwt_isr();
	} while (cph_deca_isr_is_detected() == 1);
}