Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by jasondiplomat@Oct 22 2005, 05:20 AM any "i/o variables" should be qualified as volatile[/b] so : volatile alt_u8 * UartTxAdr This prevents the optimiser from tuning the code out (because it will detect that nothing is "reading" the location). <div align='right'><{post_snapback}> (index.php?act=findpost&pid=10525) --- Quote End --- [/b] --- Quote End --- Thanks for you reply ,JasonDiplomat. you means that the DMA controller also effected by "volatile" ??