Forum Discussion

BeB's avatar
BeB
Icon for Occasional Contributor rankOccasional Contributor
1 year ago

Why overwrite/reset the complete edge register in a PIO ISR?

Hello, Refering to the Nios 2 software handbook (code below), why overwrite *edge_capture_ptr completely and clear the entire edge capture register with IOWR_ALTERA_AVALON_PIO_EDGE_CAP systematical...