Added optional mode to trigger ADC using TC2