how to make a easy delay function by using the S32K144EVK board.

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

how to make a easy delay function by using the S32K144EVK board.

跳至解决方案
1,777 次查看
Guofred
Contributor III

Hi,

i want to make a easy delay function for the blinking LED, i found this function doesn't have execute and  jump the code end line. the details as below.

the attachment is the source code, would you like kindly help to share your comments or provide your blinking LED code for reference, thanks.

Guofred_0-1642605849944.png

Guofred_0-1642606627441.png

 

Best regards.

Guofred

 

 

0 项奖励
1 解答
1,750 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Guofred

please refer to belowing picture.

Senlent_0-1642662494082.png

BR!

     Jim,

在原帖中查看解决方案

4 回复数
1,767 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Guofred

you can take a look at belowing function

 

file osif.h

/*!
* @brief Delays execution for a number of milliseconds.
*
* @param[in] delay Time delay in milliseconds.
*/
void OSIF_TimeDelay(const uint32_t delay);

 

BR!

     Jim,

0 项奖励
1,758 次查看
Guofred
Contributor III

Hi @Senlent ,

Thanks for your kindly help.

would you like kindly help to share your code for reference, may be osif.h and osif.c are need to add our project, i can't use this function directly, thanks.

Guofred_0-1642657494808.png

Guofred_1-1642657995154.png

Best regards.

Guofred

 

0 项奖励
1,751 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Guofred

please refer to belowing picture.

Senlent_0-1642662494082.png

BR!

     Jim,

1,737 次查看
Guofred
Contributor III

Hi @Senlent ,

Thanks for your patience and kindly help.

Best regards.

Guofred

0 项奖励