added NOP()

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

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.