2005-12-23 03:44 AM
2005-12-20 04:02 AM
Hi,
I have just taken a project already started on the ST10F168. My problem is to understand when I am obliged to use the _nop_() function. Because in my project, it's using in abundance...Is it really necessary ?? When you set a port or a state(input/output), do you put a _nop_() (or 2) after ?? In general, when the use of this function is necessary ?? Thanks in advance Regards JM2005-12-21 01:27 AM
Thanks
So, NOP are necessary just after changing the state of one port pin direction of a port, or also after changing the value of the port pin ? which NOP are necessary in the example below. Just 1 (or 2) after changing the direction, or all ?Code:
P8=0xFF; _nop_();_nop_(); DP8=0xFF; _nop_();_nop_(); Regards JM2005-12-23 03:44 AM
Thanks again !!!!