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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -