/********************************************************************************/
/** GPT12E: Input Capture                                                      **/
/********************************************************************************/
/** Timer2 toggles P0.2 for each overflow (callback TIMER2_ISR1) after 26.66ms.**/
/** The core timer 3 of GPT12E is set up as a timer with 310 kHz and it        **/
/** toggles P1.2 for each overflow (callback T3_ISR_Overflow).                 **/
/** The auxiliary timer T2 of GPT12E is configured to capture on either edge   **/
/** of P1.4 (callback T2_CAP_ISR).                                             **/
/** Use a jumper wire to connect P0.2 with P1.4 so that the timer T2 of GPT12E **/
/** can count between rising-falling pulses.                                   **/
/** The variable final_counts holds the captured value in ticks.               **/
/********************************************************************************/
