Specifications

84 Chapter 4: Matrox Solios hardware reference
User signals
Auxiliary signals can be used for application-specific user input and output. Any
auxiliary output signal (or I/O signal set to output) can be configured as a user
output signal to start or stop an external event. In this case, the state (on/off ) of
a bit in a user settable register (static-user-output register) is routed onto its
associated auxiliary output signal. This bit is referred to as a user-bit. Your
application can also act upon and interpret the state of an auxiliary input signal
(or I/O signal set to input). The state of an auxiliary input signal is not associated
with a user-bit; you poll the state of the signal directly. The state of an auxiliary
input signal can also generate an interrupt.
You can specify the on/off state of a required output signal and have the PSG
generate and route it to an auxiliary output signal (or auxiliary I/O signals in
output mode) configured as a user signal; your application can set the on/off state
of the signal based on some analysis.
To route the state of a user-bit to an auxiliary output signal, use the MIL-Lite
function MdigControl() with M_IO_SOURCE and M_USER_BITn; to set the
state of a user-bit, use MdigControl() with M_USER_BIT_STATE. To poll the
state of an auxiliary input signal, use MdigInquire() with M_IO_STATUS*,
whereas to have the signal cause an interrupt, use MdigControl() with
M_IO_INTERRUPT_STATE and then use MdigHookFunction() with
M_IO_CHANGE to hook a function to this event (that is, to set up an event
handler).