|
| _nop_| Summary | |
#include <intrins.h>
void _nop_ (void);
| | Description | | The _nop_ routine inserts a NOP instruction into the program. This routine can be used to pause for 1 CPU cycle. This routine is implemented as an intrinsic function. The NOP instruction is included inline. | | Return Value | | None. | | Example | |
#include <intrins.h>
void test_nop (void) {
P1 = 0xFF;
_nop_ (); /* delay for hardware */
_nop_ ();
_nop_ ();
P1 = 0x00;
}
|
Related Knowledgebase Articles |
|