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
|
|
|
|
#define SENDPAYLOAD_IRQ 0x04
|
|
|
|
#define CYCLIC_IRQ 0x08
|
2018-10-04 22:08:54 +02:00
|
|
|
|
|
|
|
#include "globals.h"
|
|
|
|
#include "cyclic.h"
|
|
|
|
#include "button.h"
|
|
|
|
#include "display.h"
|
|
|
|
#include "senddata.h"
|
|
|
|
|
|
|
|
void irqHandler(void *pvParameters);
|
2018-10-04 22:59:02 +02:00
|
|
|
void IRAM_ATTR ChannelSwitchIRQ();
|
|
|
|
void IRAM_ATTR homeCycleIRQ();
|
|
|
|
void IRAM_ATTR SendCycleIRQ();
|
|
|
|
#ifdef HAS_DISPLAY
|
|
|
|
void IRAM_ATTR DisplayIRQ();
|
|
|
|
#endif
|
|
|
|
#ifdef HAS_BUTTON
|
|
|
|
void IRAM_ATTR ButtonIRQ();
|
|
|
|
#endif
|
2018-10-04 22:08:54 +02:00
|
|
|
|
|
|
|
#endif
|