EasyManua.ls Logo

Infineon GPT12 - Configure GPT12 Interrupt

Infineon GPT12
13 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
9
2020-06-05 Copyright © Infineon Technologies AG 2020. All rights reserved.

Related product manuals