MX Foundation 4
|
All discrete lines have edge detection capability. Active lines and edge polarity (rising or falling edges) are selectable line by line using a mask value. When a selected line changes in the selected direction, a corresponding bit is set in an edge detection field.
Two types of access are defined for the software support of the discrete devices.
Both types of access use a port mask value to define on which line(s) the operation takes place.
MXF_DISCRETE_DATAREC.edge
and MXF_DISCRETE_SAMPREC.edge
specify the mask.