Download Print this page

Infineon GTM ATOM Interrupt 1 Manual page 6

Gtm atom interrupt, aurix tc2xx microcontroller training

Advertisement

Implementation
Configuring the ATOM
Set the CMU clock 0 frequency to 1 MHz with the function
IfxGtm_Cmu_SetClkFrequency().
Enable the CMU clock 0 by calling the function IfxGtm_Cmu_enableClocks().
After clock configuration, the function IfxGtm_Atom_Timer_init() initializes and activates
the ATOM with the user configuration.
Start the timer with the function IfxGtm_Atom_Timer_run().
All the functions used for the configuration of the ATOM are provided by the iLLD header
IfxGtm_Atom_Timer.h.
Configuring the LED
The LED configuration is also done in the function initGtmAtom():
Set the port pin mode to output and push-pull by calling the function
IfxPort_setPinModeOutput(), provided by iLLD header IfxPort.h.
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 GTM ATOM Interrupt 1 and is the answer not in the manual?