ESP32-PaxCounter/include/irqhandler.h

36 lines
600 B
C
Raw Normal View History

#ifndef _IRQHANDLER_H
#define _IRQHANDLER_H
2018-10-04 22:59:02 +02:00
#define DISPLAY_IRQ 0x01
#define BUTTON_IRQ 0x02
#define SENDCOUNTER_IRQ 0x04
2018-10-04 22:59:02 +02:00
#define CYCLIC_IRQ 0x08
#define IF482_IRQ 0x10
#include "globals.h"
#include "cyclic.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();
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
#ifdef HAS_IF482
#include "if482.h"
void IRAM_ATTR IF482IRQ();
#endif
#endif