Infrared4Arduino
IrTimerDefs.h
Go to the documentation of this file.
1 #pragma once
2 
8 #include "boarddefs.h"
9 
10 #ifndef ARDUINO
11 
12 // Just dummy junk to allow builds outside of the Arduino environment.
13 
14 #undef TIMER_CONFIG_NORMAL
15 #define TIMER_CONFIG_NORMAL()
16 
17 #undef TIMER_ENABLE_INTR
18 #define TIMER_ENABLE_INTR
19 
20 #undef TIMER_DISABLE_INTR
21 #define TIMER_DISABLE_INTR
22 
23 #define ISR(x) void functionThatIDoNotNeed()
24 
25 //#define IR_SEND_PWM_PIN 0
26 
27 #undef TIMER_DISABLE_PWM
28 #define TIMER_DISABLE_PWM
29 
30 #undef TIMER_ENABLE_PWM
31 #define TIMER_ENABLE_PWM
32 
33 #undef TIMER_CONFIG_KHZ
34 #define TIMER_CONFIG_KHZ(x) /* Empty */
35 
36 #endif // ! ARDUINO