avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] portable no-op with AVR GCC, AVR LIbc?


From: Britton Kerin
Subject: [avr-chat] portable no-op with AVR GCC, AVR LIbc?
Date: Sun, 29 Jan 2012 16:23:03 -0900

I notice the AVR Libc include/compat/ina90.h has this:

  #define _NOP() do { __asm__ __volatile__ ("nop"); } while (0)

but I didn't find anything else "nop"ish.  I generally don't include ina90.h.
Is there some good concise GCC/AVRLibc way to write nop that I missed?

Thanks,
Britton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]