Download Print this page

Infineon GPT12 PWM Capture 1 Manual page 6

Capture of pwm signal via gpt12, aurix tc2xx microcontroller training

Advertisement

Implementation
Configuring the interrupt service routing for GPT1
The triggering of each interrupt service routine is activated by setting the service
provider and the serial priority number in the Service Request Control (SRC)
registers of both timers with the functions IfxSrc_init() and IfxSrc_enable().
The pointers to the SRC registers are returned by the functions
IfxGpt12_T2_getSrc() and IfxGpt12_T3_getSrc().
The above mentioned functions are 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

Advertisement

loading
Need help?

Need help?

Do you have a question about the GPT12 PWM Capture 1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel