typo in fsl_ftm_driver.c for FRDMK64F

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

typo in fsl_ftm_driver.c for FRDMK64F

868件の閲覧回数
therealfreegeek
Contributor IV

The header description is wrong, describes RTC?

 

 

/*FUNCTION**********************************************************************

 

*

 

* Function Name : FTM_DRV_IRQHandler

 

* Description   : Initializes the Real Time Clock module

 

* This function will initialize the Real Time Clock module.

 

*

 

*END**************************************************************************/

 

 

 

 

 

 

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))

 

 

 

 


ラベル(1)
0 件の賞賛
返信
1 返信

774件の閲覧回数
ivadorazinova
NXP Employee
NXP Employee

Hi therealfreegeek,

thank you for the pointing out this!

Yes, it should be there Initializes FTM (FlexTimer) module, no RTC. 

I will pass it to SW Team.

Have a nice day,

Iva

0 件の賞賛
返信