Forum Discussion
Altera_Forum
Honored Contributor
13 years agoIssue with polling in Nios
Hi, I've got a custom component that produces some results from time to time, I want Nios processor to monitor the process by polling and whenever a result is produced, it is written to a exter...
Altera_Forum
Honored Contributor
10 years agoHello!
Is it a correct style to use polling for NIOS II? unsigned int data=0; while ( data == 0x00 ) { data = IORD_ALTERA_AVALON_PIO_DATA (PIO_0_BASE) && 0x01; } // polling has finished after reaching data == 0x01