Implementation
The Interrupt Service Routines (ISRs)
›
The incrementation of the counter values is different for both timers:
–
The counter of timer T6 (Timer Mode) is incremented with the frequency of timer T6.
–
The counter of timer T5 (Counter Mode) is incremented by each overflow of timer
T6.
›
The overflow of each timer triggers an interrupt.
›
Each timer has associated its own Interrupt Service Routine.
›
The ISR of timer T6 is triggered after the overflow of the 16-bit timer value of timer T6.
›
Due to the timer concatenation, the ISR of timer T5 is triggered with the overflow of the
32-bit timer value. This ISR toggles an LED.
›
The 32-bit timer value is calculated in the ISR of T6 and is represented by
timerValueHIGH (T5) and timerValueLOW (T6).
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.
7
Need help?
Do you have a question about the GPT12 Timer Concatenation 1 and is the answer not in the manual?
Questions and answers