C Macro Expansion Question

Is there a way to create a C #define macro such that a call to it:

nop_delay(5)

would yield the following expanded code?:

_nop()_;
_nop()_;
_nop()_;
_nop()_;
_nop()_;


Thanks,

Tom

Parents Reply Children
No data
More questions in this forum