7 #define IRC1PINSEL PINSEL0
8 #define IRC1PINBIT (2*IRC1BIT)
10 #define IRC2PIN IO0PIN
11 #define IRC2DIR IO0DIR
13 #define IRC2PINSEL PINSEL1
14 #define IRC2PINBIT (2*2) // FIXME possible error
16 /* IRC number counts, incremented on falling edges */
17 volatile int32_t irc1_count, irc2_count;