Can I use the LP Timer in place of the SysTick?

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

Can I use the LP Timer in place of the SysTick?

527件の閲覧回数
jamesmasamoto
Contributor I

In _bsp_pre_init() there is OSA_InstallIntHandler(BSP_SYSTIMER_INTERRUPT_VECTOR, HWTIMER_SYS_SystickIsrAction). Can I replace with LPTMR0_IRQn?

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

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

Hi James,

no, because the functions such as OSA_TimeDelay(), OSA_TimeGetMsec() and the timeout are all based on LPTMR.

For more details please see fsl_os_abstraction_bm.c located at c:\Freescale\KSDK_1.3.0\platform\osa\src\

Best Regards,

Iva

0 件の賞賛
返信