Download Print this page

Infineon GPT12 Training page 9

Pwm generation 1 for kit_aurix_tc297_tft
Hide thumbs Also See for GPT12:

Advertisement

Implementation
Configuring the interrupt for GPT12
Configuration of the interrupt is done once in the function initGpt12Timer() by the
following steps:
Get the address of timer T3 service request with the iLLD function
IfxGpt12_T3_getSrc()
Initialize GPT12 interrupt by calling IfxSrc_init() with a pointer to the address of
the timer T3 service request, the interrupt provider and the interrupt priority
number as parameters
Enable GPT12 interrupt with the iLLD function IfxSrc_enable() and the pointer to
the address of timer T3 service request as parameter
The function IfxGpt12_T3_getSrc() is provided by the header IfxGpt12.h and the
functions IfxSrc_init() and IfxSrc_enable() are provided by the header IfxSrc.h.
2020-06-05
Copyright © Infineon Technologies AG 2020. All rights reserved.
9

Advertisement

loading