added interrupts to handle ADC measurement ready events