Implementation
Configuring the TOM
›
Select the FXU clock 3 to divide the clock source by 4096 (
timerConfig.clock
=
IfxGtm_Tom_Ch_ClkSrc_cmuFxclk3
).
›
Enable the FXU clocks by calling the function
IfxGtm_Cmu_enableClocks().
›
The function
IfxGtm_Tom_Timer_init()
initializes and activates the TOM with the
given configuration.
All the functions used for the configuration of the TOM are provided by the iLLD
header
IfxGtm_Tom_Timer.h
.
6
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.