iMX6ul EPIT interrupt as user timer

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

iMX6ul EPIT interrupt as user timer

3,366 次查看
brucelian
Contributor I

iMX6ul,Kernel:4.1.15.at kernel My driver use two timer, microsecond.but EPIT is not implemented in IMX6Uxl.Counld  transplant EPIT in kernel and provide examples of use?

标签 (2)
3 回复数

2,405 次查看
brucelian
Contributor I

Hi igorpadykov:

thank you for your reply.

Could provide examples of the use of epit in the kernel driver?

0 项奖励
回复

2,405 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复

2,404 次查看
igorpadykov
NXP Employee
NXP Employee

Hi bruce

there are epit.c and gpt.c functions in linux/arch/arm/mach-imx and time.c uses gpt functions,
one can try to replace them with epit:
http://git.freescale.com/git/cgit.cgi/imx/linux-imx.git/tree/arch/arm/mach-imx?h=imx_4.1.15_2.0.0_ga...
Linux timer is decribed in Chapter 3 Machine-Specific Layer (MSL) attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------