2018-10-04 22:08:54 +02:00
|
|
|
#ifndef _IRQHANDLER_H
|
|
|
|
#define _IRQHANDLER_H
|
|
|
|
|
2018-10-04 22:59:02 +02:00
|
|
|
#define DISPLAY_IRQ 0x01
|
|
|
|
#define BUTTON_IRQ 0x02
|
2019-03-03 12:57:00 +01:00
|
|
|
#define SENDCYCLE_IRQ 0x04
|
2018-10-04 22:59:02 +02:00
|
|
|
#define CYCLIC_IRQ 0x08
|
2019-03-03 00:30:57 +01:00
|
|
|
#define TIMESYNC_IRQ 0x10
|
2018-10-04 22:08:54 +02:00
|
|
|
|
|
|
|
#include "globals.h"
|
|
|
|
#include "cyclic.h"
|
|
|
|
#include "senddata.h"
|
2019-02-27 00:52:27 +01:00
|
|
|
#include "timekeeper.h"
|
2018-10-04 22:08:54 +02:00
|
|
|
|
|
|
|
void irqHandler(void *pvParameters);
|
2018-10-04 23:24:34 +02:00
|
|
|
|
2018-10-04 22:59:02 +02:00
|
|
|
#ifdef HAS_DISPLAY
|
2018-10-04 23:24:34 +02:00
|
|
|
#include "display.h"
|
2018-10-04 22:59:02 +02:00
|
|
|
void IRAM_ATTR DisplayIRQ();
|
|
|
|
#endif
|
2018-10-04 23:24:34 +02:00
|
|
|
|
2018-10-04 22:59:02 +02:00
|
|
|
#ifdef HAS_BUTTON
|
2018-10-04 23:24:34 +02:00
|
|
|
#include "button.h"
|
2018-10-04 22:59:02 +02:00
|
|
|
void IRAM_ATTR ButtonIRQ();
|
|
|
|
#endif
|
2018-10-04 22:08:54 +02:00
|
|
|
|
2019-01-27 18:19:25 +01:00
|
|
|
#endif
|