|
|
|
|
79
|
#define _GET_OUTPUT(IO) ((DIO ## IO ## _DDR & MASK(DIO ## IO ## _PIN)) != 0)
|
79
|
#define _GET_OUTPUT(IO) ((DIO ## IO ## _DDR & MASK(DIO ## IO ## _PIN)) != 0)
|
80
|
|
80
|
|
81
|
/// check if pin is an timer
|
81
|
/// check if pin is an timer
|
82
|
-#define _GET_TIMER(IO) ((DIO ## IO ## _PWM)
|
|
|
|
|
82
|
+#define _GET_TIMER(IO) (DIO ## IO ## _PWM)
|
83
|
|
83
|
|
84
|
// why double up on these macros? see http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
|
84
|
// why double up on these macros? see http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
|
85
|
|
85
|
|