Download Print this page

Infineon GPT12 Timer Concatenation 1 Manual page 6

Timer concatenation of gpt12, aurix tc2xx microcontroller training
Hide thumbs Also See for GPT12 Timer Concatenation 1:

Advertisement

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

Advertisement

loading