Visible to Intel only — GUID: iga1405563213348
Ixiasoft
Visible to Intel only — GUID: iga1405563213348
Ixiasoft
28.5.2.4. edgecapture Register
Bit n in the edgecapture register is set to 1 whenever an edge is detected on input port n. An Avalon® -MM host peripheral can read the edgecapture register to determine if an edge has occurred on any of the PIO input ports. If the edge capture register bit has been previously set, in_port toggling activity will not change value.
If the option Enable bit-clearing for the edge capture register is turned off, writing any value to the edgecapture register clears all bits in the register. Otherwise, writing a 1 to a particular bit in the register clears only that bit.
The type of edge(s) to detect is specified during IP generation in Platform Designer. The edgecapture register only exists when the hardware is configured to capture edges. If the core is not configured to capture edges, reading from edgecapture returns an undefined value, and writing to edgecapture has no effect.