AnsweredAssumed Answered

typo in fsl_ftm_driver.c for FRDMK64F

Question asked by therealfreegeek on Jan 28, 2016
Latest reply on Jan 28, 2016 by Iva Susnova

The header description is wrong, describes RTC?







* Function Name : FTM_DRV_IRQHandler


* Description   : Initializes the Real Time Clock module


* This function will initialize the Real Time Clock module.











FTM_DRV_IRQHandler(uint32_t instance)


FTM_Type *ftmBase = g_ftmBase[instance];


uint16_t channel;


/* Clear the Status flag if the interrupt is enabled */

if (FTM_HAL_IsOverflowIntEnabled(ftmBase))


for (channel = 0; channel < g_ftmChannelCount[instance]; channel++)


if (FTM_HAL_IsChnIntEnabled(ftmBase, channel))