Implementation
Configuring the ATOM
›
The IfxGtm_Atom_Pwm_Config structure allows to set the following parameters to initialize
the module:
–
atom – Selection of the ATOM which is counting (ATOM 2 in this example)
–
atomChannel – Selection of the channel which is driving the LED (Channel 5 in this
example)
–
period – Setting of the period for the PWM signal to the desired value
–
pin.outputPin – Selection the LED as output pin
–
synchronousUpdateEnable – Enabling of Synchronous Update of the timer
›
After configuration, the function IfxGtm_Atom_Pwm_init() initializes and activates the
ATOM with the user configuration.
›
Start the PWM with the function IfxGtm_Atom_Pwm_start().
All the functions used for the configuration of the ATOM are provided by the iLLD header
IfxGtm_Atom_Pwm.h.
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.
6
Need help?
Do you have a question about the GTM ATOM PWM 1 and is the answer not in the manual?
Questions and answers