added NOP()

This commit is contained in:
Markus Fröschle
2013-12-21 16:17:03 +00:00
parent de0e14c696
commit ef5d8dcaaf

View File

@@ -27,6 +27,8 @@
#include <stdint.h> #include <stdint.h>
#define NOP() __asm__ __volatile__("nop\n\t" : : : "memory")
/* /*
* uint16_t swpw(uint16_t val); * uint16_t swpw(uint16_t val);
* swap endianess of val, 16 bits only. * swap endianess of val, 16 bits only.