Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

ModusToolbox™ General Forum Discussions

RuGl_1600761
Employee
25 replies posted 25 sign-ins 10 replies posted
Employee

Is there a Cy_Nop() avalibale in MTB ?

Please show syntax

 

rgl
0 Likes
1 Solution
RodolfoGL
Employee
250 sign-ins 5 comments on KBA First comment on KBA
Employee

The PDL provides the Cy_SysLib_DelayCycles(uint32_t cycles), which is implemented in Assembly code. It uses NOP instructions internally.

View solution in original post

0 Likes
2 Replies
RodolfoGL
Employee
250 sign-ins 5 comments on KBA First comment on KBA
Employee

The PDL provides the Cy_SysLib_DelayCycles(uint32_t cycles), which is implemented in Assembly code. It uses NOP instructions internally.

0 Likes
ferranpg
Level 1
First reply posted 50 sign-ins 25 sign-ins
Level 1

Hi rgl,

Try  with:

asm ("nop");

 

Regards

0 Likes