embedded - strange #define statements in C -
i have embedded c source code. in it's definitions, has lot of #define lines following:
#define xnv_spi_tx(x) st(u1csr &= 0xfd; u1dbuf = (x);)
any idea st( ) means , does? using iar compiler , toolchain.
thanks comments, here found:
/* (the while condition below evaluates false without generating * constant-controlling-loop type of warning on compilers.) */ #define st(x) { x } while (__line__ == -1)
Comments
Post a Comment