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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

528 次查看
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 回复

379 次查看
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 项奖励
回复