%10010 AND Y = Timeout on X clocks of missing A-input high/rise/edge
If no A-input high/rise/edge occurs within X clocks, IN is raised, a new timeout period of X clocks begins, and Z maintains a running count of how many clocks have elapsed since the last A-input high/rise/edge. Z will be limited to $80000000 and can be read any time via RDPIN/RQPIN.
If an A-input high/rise/edge does occur within X clocks, a new timeout period of X clocks begins and Z is reset to $00000001.
X[31:0] establishes how many clocks before a timeout due to no A-input high/rise/edge occurring.
Y[1:0] establishes A-input high/rise/edge sensitivity:
%00 = A-input high
%01 = A-input rise
%1x = A-input edge
During reset (DIR=0), IN is low and Z is set to $00000001.