interrupt-receiver.c 303 Bytes
Newer Older
1
2
3
4
5
#include "max32665.h"
#include "tmr.h"
#include "api/common.h"
#include "epicardium.h"

6
void __dispatch_isr(api_int_id_t);
7
8
9
10
11

/* Timer Interrupt used for control char notification */
void TMR5_IRQHandler(void)
{
	TMR_IntClear(MXC_TMR5);
12
	__dispatch_isr(API_CALL_MEM->int_id);
13
14
	API_CALL_MEM->int_id = 0;
}