Page 1
GPT12_PWM_Generation_1 for KIT_AURIX_TC297_TFT Generation of PWM via GPT12 AURIX™ TC2xx Microcontroller Training V1.0.0 Please read the Important Notice and Warnings at the end of this document...
Page 3
Introduction › The General Purpose Timer Unit (GPT12) is made of two GPT blocks (GPT1 and GPT2). › Each block has a multifunctional timer structure which incorporates several 16-bit timers. › Block GPT1 contains three timers: the core timer T3 and two auxiliary timers T2 and T4.
Page 6
Implementation Configure the GPT12 Module Configuration of the GPT12 is done once in the function initGpt12PWM() by the following steps: › Enable GPT12 module by calling the iLLD function IfxGpt12_enableModule() › Set GPT1 prescaler with the iLLD function IfxGpt12_setGpt1BlockPrescaler() ›...
Page 9
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 ›...
Page 13
Infineon Technologies in in personal injury. customer’s applications. The data contained in this document is exclusively intended for technically trained staff.