To implement C/C++ delay() for MPC5748G(S32 DS)

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

To implement C/C++ delay() for MPC5748G(S32 DS)

1,575 次查看
barkly_lin
Contributor III

Hi

Just found someone implement delay() function with interrupt + timer by using C language.

Is it possible to achieve that with easier way? or S32 DS may already has function available in library?

Regards,

标记 (3)
0 项奖励
回复
1 回复

1,391 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

using PIT is the right way. If you are using SDK - there is PIT module which can be used for timing. 

Jiri

0 项奖励
回复