Implementation
Configuring the interrupt service routing for block GPT2
›
The function IfxGpt12_T5_getSrc() returns the pointer to the service request control
(SRC) register of timer T5.
›
The function IfxGpt12_T6_getSrc() returns the pointer to the SRC register of timer T6.
›
The above mentioned pointers to the SRC registers are used to initialize and enable
the ISRs by setting the service provider and the priority number. This is done via the
functions IfxSrc_init() and IfxSrc_enable() provided by the iLLD header IfxSrc.h.
›
The method implementing the ISR needs to be assigned a priority and a
CPU core responsible for its execution. This is done with the macro
IFX_INTERRUPT(isr, vectabNum, priority).
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.
6
Need help?
Do you have a question about the GPT12 Timer Concatenation 1 and is the answer not in the manual?
Questions and answers